Previous | Next |
The EnumStorage method accesses the IWMDMEnumStorage interface to enumerate each individual storage medium on a device .
Syntax
HRESULT EnumStorage(
IWMDMEnumStorage** pEnumStorage
);
Parameters
pEnumStorage
[out] 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 pEnumStorage parameter is an invalid or NULL pointer. |
E_FAIL | An unspecified error occurred. |
Remarks
When accessed from the IWMDMDevice::EnumStorage method, IWMDMEnumStorage enumerates each individual storage medium on the device in the same way that you can enumerate the individual disk drives on a computer. When referring to the content on a medium, however, the interface must be acquired from IWMDMStorage.
See Also
Previous | Next |