availability of Win32_MountPoint and Win32_Volume on Windows XP?

后端 未结 2 833
北海茫月
北海茫月 2021-01-20 18:51

From the MSDN articles I\'ve found -- http://msdn.microsoft.com/en-us/library/aa394515(v=VS.85).aspx -- Win32_Volume and Win32_MountPoint aren\'t available on Windows XP.

2条回答
  •  醉话见心
    2021-01-20 19:11

    I guess the Win32_MountPoint and Win32_Volume classes are available on Windows XP Professional x64 Edition because it's based on the Windows Server 2003 codebase. On 32-bit versions of Windows XP, these classes don't exist and to perform your task you need to P/Invoke native volume management functions, like Tim said.

提交回复
热议问题