CMediaType.GetSampleSize method

The GetSampleSize method retrieves the sample size.

Syntax


ULONG GetSampleSize() const;

Parameters

This method has no parameters.

Return value

If the sample size is fixed, returns the sample size in bytes. Otherwise, returns zero.

Requirements

Header

Mtype.h (include Streams.h)

Library

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

See also

CMediaType Class

 

 

Community Additions

ADD
Show:
© 2014 Microsoft