IWMDMStorageGlobals Interface

banner art

The IWMDMStorageGlobals interface, acquired from the IWMDMStorage interface, provides methods for retrieving global information about a storage medium. This can include the amount of free space, the total number of files, and so on.

In addition to the methods inherited from IUnknown, the IWMDMStorageGlobals interface exposes the following methods.

Method Description
GetCapabilities Retrieves the capabilities of the storage medium with which an instance of this interface is associated.
GetSerialNumber Retrieves a serial number that uniquely identifies the storage medium.
GetStatus Retrieves the current status of the storage medium.
GetTotalBad Retrieves the total amount of unusable space on the storage medium.
GetTotalFree Retrieves the total free space on the storage medium, in bytes.
GetTotalSize Retrieves the total size of the storage medium, in bytes.
Initialize Formats the storage medium.

See Also