CMediaType.InitMediaType method

The InitMediaType method initializes the media type.

Syntax


void InitMediaType();

Parameters

This method has no parameters.

Return value

This method does not return a value.

Remarks

This method zeroes the object's memory, sets the fixed-sample-size property to TRUE, and sets the sample size to 1.

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