Partager via


CPersistStream::GetSizeMax

 
Microsoft DirectShow 9.0

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.

Requirements

**  Header:** Declared in Pstream.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also