Microsoft DirectX 8.1 (C++)

CPersistStream::GetSizeMax

Retrieves the maximum byte size needed for the current stream, including the version number.

Syntax

HRESULT GetSizeMax(
    ULARGE_INTEGER *pcbSize
);

Parameters

pcbSize

Pointer to the size in bytes needed to save this stream, including the version number.

Return Value

Returns an HRESULT value.

Remarks

This member function implements the IPersistStream::GetSizeMax method.

See Also