Windows Media Format SDK banner art
PreviousNext

IWMDMStorageGlobals::GetTotalSize

The GetTotalSize method retrieves the total size of the medium associated with the IWMDMStorageGlobals interface.

Syntax

HRESULT GetTotalSize(
  DWORD*  pdwTotalSizeLow,
  DWORD*  pdwTotalSizeHigh
);

Parameters

  pdwTotalSizeLow

[out]  Pointer to a double word containing the low-order bytes of the total size of the medium.

  pdwTotalSizeHigh

[out]  Pointer to a double word containing the high-order bytes of the total size of the medium.

Return Values

If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.

Return code Description
E_INVALIDARG A parameter is an invalid or NULL pointer.
WMDM_E_NOTSUPPORTED The device is not capable of retrieving the total amount of space on the storage medium.
E_FAIL An unspecified error occurred.

See Also

PreviousNext


© 1999 Microsoft Corporation. All rights reserved.