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.

Inheritance

The IMDSPStorageGlobals interface inherits from the IUnknown interface. IMDSPStorageGlobals also has these types of members:

Methods

The IMDSPStorageGlobals interface has these methods.

 
IMDSPStorageGlobals::GetCapabilities

The GetCapabilities method retrieves the capabilities of the storage medium that an instance of this interface is associated with.
IMDSPStorageGlobals::GetDevice

The GetDevice method retrieves a pointer to the device on which the storage medium with which this interface is associated is mounted.
IMDSPStorageGlobals::GetRootStorage

The GetRootStorage method retrieves a pointer to the IMDSPStorage interface for the root storage of the storage medium.
IMDSPStorageGlobals::GetSerialNumber

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.
IMDSPStorageGlobals::GetStatus

The GetStatus method retrieves the current status of the storage medium.
IMDSPStorageGlobals::GetTotalBad

The GetTotalBad method retrieves the total amount of unusable space on the storage medium, in bytes.
IMDSPStorageGlobals::GetTotalFree

The GetTotalFree method retrieves the total free space on the storage medium, in bytes.
IMDSPStorageGlobals::GetTotalSize

The GetTotalSize method retrieves the total size, in bytes, of the medium associated with this IMDSPStorageGlobals interface.
IMDSPStorageGlobals::Initialize

The Initialize method formats the storage medium.

Requirements

   
Target Platform Windows
Header mswmdm.h

See also

IMDSPStorage Interface

Interfaces for Service Providers