次の方法で共有


CMediaSample::GetSize (Compact 2013)

3/26/2014

Retrieves the size, in bytes, of the buffer data area.

Syntax

HRESULT GetSize(void);

Parameters

None.

Return Value

Returns the value of m_cbBuffer by default.

Remarks

This member function implements the IMediaSample::GetSize method.

Requirements

Header

dshow.h,
Streams.h

Library

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

See Also

Reference

CMediaSample Class