IWMDMDevice::EnumStorage method (mswmdm.h)
The EnumStorage method retrieves an IWMDMEnumStorage interface to enumerate the storages on a device.
Syntax
Syntax
HRESULT EnumStorage(
[out] IWMDMEnumStorage **ppEnumStorage
);
Parameters
[out] ppEnumStorage
Pointer to a pointer to an IWMDMEnumStorage interface to enumerate the storages on a device. This points to the root storage on the device. The caller is responsible for calling Release on the retrieved interface.
Return value
The method returns an HRESULT. All the interface methods in Windows Media Device Manager can return any of the following classes of error codes:
- Standard COM error codes
- Windows error codes converted to HRESULT values
- Windows Media Device Manager error codes
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | mswmdm.h |
Library | Mssachlp.lib |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for