Previous | Next |
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.
pdwSizeHigh
[out] Pointer to a double word containing the high-order part of the storage object size.
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 pdwSizeLow 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
Previous | Next |