IMDSPStorageGlobals interface (mswmdm.h)
The IMDSPStorageGlobals interface, acquired from the IMDSPStorage interface, provides methods for retrieving global information about a storage medium. This might include the amount of free space, serial number of the medium, and so on.
The IMDSPStorageGlobals interface inherits from the IUnknown interface. IMDSPStorageGlobals also has these types of members:
The IMDSPStorageGlobals interface has these methods.
The GetCapabilities method retrieves the capabilities of the storage medium that an instance of this interface is associated with.
The GetDevice method retrieves a pointer to the device on which the storage medium with which this interface is associated is mounted.
The GetRootStorage method retrieves a pointer to the IMDSPStorage interface for the root storage of the storage medium.
The GetSerialNumber method retrieves a serial number uniquely identifying the storage medium. This method must be implemented for protected content transfer, but otherwise it is optional. For more information, see Mandatory and Optional Interfaces.
The GetStatus method retrieves the current status of the storage medium.
The GetTotalBad method retrieves the total amount of unusable space on the storage medium, in bytes.
The GetTotalFree method retrieves the total free space on the storage medium, in bytes.
The GetTotalSize method retrieves the total size, in bytes, of the medium associated with this IMDSPStorageGlobals interface.
The Initialize method formats the storage medium.