Previous | Next |
The GetRootStorage method retrieves a pointer to the IMDSPStorage interface for the root storage of the storage medium.
Syntax
HRESULT GetRootStorage(
IMDSPStorage** ppRoot
);
Parameters
ppRoot
[out] Pointer to an IMDSPStorage pointer that receives the root storage.
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 ppRoot parameter is an invalid or NULL pointer. |
E_FAIL | An unspecified error occurred. |
See Also
Previous | Next |