Compartilhar via


Win32_MountPoint class

The Win32_MountPoint class associates a volume to the directory where it is mounted.

Windows XP and earlier: This class is not available.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties. Properties are listed in alphabetic order, not MOF order.

Syntax

class Win32_MountPoint
{
  Win32_Directory REF Directory;
  Win32_Volume    REF Volume;
};

Members

The Win32_MountPoint class has these types of members:

Properties

The Win32_MountPoint class has these properties.

Directory

Data type: Win32_Directory

Access type: Read-only

Reference to the directory where the volume is mounted.

Volume

Data type: Win32_Volume

Access type: Read-only

Reference to the mounted volume.

Remarks

There may not be any way to search from Win32_MountPoint to get to the associated Win32_DiskDrive; such a combination is only possible with a drive letter mount. Instead, you can use the IOCTL_STORAGE_GET_DEVICE_NUMBER ioctl, to query the list of disks/partitions for a certain volume (and viceversa). For more information, see here.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2003
Namespace
Root\CIMV2
MOF
Vds.mof
DLL
Vdswmi.dll

See also

Storage Volume Provider

Win32_Volume

Win32_VolumeQuota

Win32_VolumeUserQuota

Win32_DefragAnalysis