Export (0) Print
Expand All

CMediaSample.GetProperties method

The GetProperties method retrieves the properties of the sample. This method implements the IMediaSample2::GetProperties method.

Syntax


HRESULT GetProperties(
  DWORD cbProperties,
  BYTE *pbProperties
);

Parameters

cbProperties

Length of property data to retrieve, in bytes.

pbProperties

Pointer to a buffer of size cbProperties.

Return value

Returns one of the HRESULT values shown in the following table.

Return codeDescription
S_OK

Success.

E_POINTER

NULL pointer argument.

 

Requirements

Header

Amfilter.h (include Streams.h)

Library

Strmbase.lib (retail builds);
Strmbasd.lib (debug builds)

See also

CMediaSample Class

 

 

Community Additions

ADD
Show:
© 2014 Microsoft