IWMDMStorage::GetStorageGlobals
The GetStorageGlobals method retrieves the IWMDMStorageGlobals interface.
Syntax
HRESULT GetStorageGlobals(
IWMDMStorageGlobals** ppStorageGlobals
);
Parameters
ppStorageGlobals
[out] Pointer to an IWMDMStorageGlobals interface.
Return Values
The method returns an HRESULT. All the interface methods in Windows Media Device Manager and service provider 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
For a complete list of possible error codes, see Error Codes.
Possible values include, but are not limited to, those in the following table.
Return code | Description |
E_INVALIDARG | The ppStorageGlobals parameter is an invalid or NULL pointer. |
E_FAIL | An unspecified error occurred. |
WMDM_E_NOTCERTIFIED | The caller is not certified. |
Remarks
The IWMDMStorageGlobals interface returned provides methods for accessing global information about the medium. These methods are the same regardless of the nesting level of the IWMDMStorage interface from which the global view is accessed.
Requirements
Header: Defined in wmdm.idl.
Library: mssachlp.lib
See Also