Partager via


CMediaType::SetType (Compact 2013)

3/26/2014

Sets the major type for the object.

Syntax

void SetType(
  const GUID* ptype 
);

Parameters

  • ptype
    GUID defining the major type for the object.

Return Value

None.

Requirements

Header

dshow.h,
Streams.h

Library

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

See Also

Reference

CMediaType Class