Share via


Storage Properties

banner art

Previous Next

Storage Properties

Windows Portable Devices supports the following storage properties.

Property VarType Description
WPD_STORAGE_CAPACITY VT_UI8 The total storage capacity, in bytes.
WPD_STORAGE_CAPACITY_IN_OBJECTS VT_UI8 Indicates the total storage capacity in objects, for example the available slots on a SIM card.
WPD_STORAGE_DESCRIPTION VT_LPWSTR A human-readable description of the storage.
WPD_STORAGE_FILE_SYSTEM_TYPE VT_LPWSTR A string description of the file system used by the storage: for example, "FAT32", "NTFS", "Contoso File System" and so on.
WPD_STORAGE_FREE_SPACE_IN_BYTES VT_UI8 The available storage space, in bytes.
WPD_STORAGE_FREE_SPACE_IN_OBJECTS VT_UI8 The number of additional objects that can be written to the device. For example, if a device only allows a single object, this would be zero if the object already existed.
WPD_STORAGE_SERIAL_NUMBER VT_LPWSTR A vendor-specific serial number for the storage.
WPD_STORAGE_MAX_OBJECT_SIZE VT_UI8 Specifies the maximum size of a single object (in bytes) that can be placed on this storage.
WPD_STORAGE_TYPE VT_UI4 Describes the physical type of a memory storage medium.

Requirements

Header: Defined in PortableDevice.h

See Also

Previous Next