Share via


IWMDMStorageGlobals Interface (deprecated)

banner art

This is preliminary documentation and subject to change.

This topic documents a feature of the Windows Media Device Manager SDK. We recommend that you migrate your application to use the Windows Portable Devices API. For more information, see the Windows Portable Devices SDK.

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.

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.
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, in bytes.
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