This topic has not yet been rated - Rate this topic

CMediaType.SetType method

The SetType method specifies the major type.

Syntax


void SetType(
  const GUID *ptype
);

Parameters

ptype

Pointer to a GUID that specifies the major type.

Return value

This method does not return a value.

Requirements

Header

Mtype.h (include Streams.h)

Library

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

See also

CMediaType Class

 

 

Send comments about this topic to Microsoft

Build date: 11/21/2012

Community Additions

ADD
© 2013 Microsoft. All rights reserved.