Windows Media Format SDK banner art
PreviousNext

IWMDMStorage::GetSize

The GetSize method retrieves the size of the storage object, in bytes.

Syntax

HRESULT GetSize(
  DWORD*  pdwSizeLow,
  DWORD*  pdwSizeHigh
);

Parameters

  pdwSizeLow

[out]  Pointer to a double word containing the low-order part of the storage object size, in bytes.

  pdwSizeHigh

[out]  Pointer to a double word containing the high-order part of the storage object size, in bytes.

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.
E_FAIL An unspecified error occurred.

Remarks

The object size is reported in bytes. For folder objects the size is zero.

See Also

PreviousNext


© 1999 Microsoft Corporation. All rights reserved.