IWMDMStorageGlobals interface (mswmdm.h)
The IWMDMStorageGlobals interface provides methods for retrieving global information about a storage medium (such as a flash ROM card) on a device. This can include the amount of free space, the total number of files, and so on. The values returned by this interface apply to the root storage of the current storage. Note that this is not necessarily equivalent to a device, since a device may have more than one storage (each flash card is considered a separate storage, for instance).
This interface is acquired by calling IWMDMStorage::GetStorageGlobals.
Inheritance
The IWMDMStorageGlobals interface inherits from the IUnknown interface. IWMDMStorageGlobals also has these types of members:
Methods
The IWMDMStorageGlobals interface has these methods.
IWMDMStorageGlobals::GetCapabilities The GetCapabilities method retrieves the capabilities of the root storage medium. |
IWMDMStorageGlobals::GetSerialNumber The GetSerialNumber method retrieves a serial number that uniquely identifies the storage medium. |
IWMDMStorageGlobals::GetStatus The GetStatus method retrieves the current status of a storage medium. |
IWMDMStorageGlobals::GetTotalBad The GetTotalBad method retrieves the total amount of unusable space on the storage medium, in bytes. (IWMDMStorageGlobals.GetTotalBad) |
IWMDMStorageGlobals::GetTotalFree The GetTotalFree method retrieves the total amount of free space on the storage medium, in bytes. |
IWMDMStorageGlobals::GetTotalSize The GetTotalSize method retrieves the total size in bytes of the storage medium associated with the IWMDMStorageGlobals interface. |
IWMDMStorageGlobals::Initialize The Initialize method formats the storage medium. (IWMDMStorageGlobals.Initialize) |
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | mswmdm.h |