Previous | Next |
The EnumStorage method is used to acquire an IWMDMEnumStorage interface to enumerate the storage media on a device.
Syntax
HRESULT EnumStorage(
IWMDMEnumStorage** ppEnumStorage
);
Parameters
ppEnumStorage
[out] Pointer to a pointer to an IWMDMEnumStorage interface.
Return Values
If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.
Return code | Description |
E_INVALIDARG | The ppEnumStorage parameter is an invalid or NULL pointer. |
E_FAIL | An unspecified error occurred. |
See Also
Previous | Next |