Compartilhar via


CPersistStream::GetSizeMax (Compact 2013)

3/26/2014

This method 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

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CPersistStream Class

Other Resources

IPersistStream::GetSizeMax