My Project
Public Member Functions | List of all members
CMediaType Class Reference
Inheritance diagram for CMediaType:

Public Member Functions

 CMediaType (const GUID *majortype)
 
 CMediaType (const AM_MEDIA_TYPE &, HRESULT *phr=NULL)
 
 CMediaType (const CMediaType &, HRESULT *phr=NULL)
 
CMediaTypeoperator= (const CMediaType &)
 
CMediaTypeoperator= (const AM_MEDIA_TYPE &)
 
BOOL operator== (const CMediaType &) const
 
BOOL operator!= (const CMediaType &) const
 
HRESULT Set (const CMediaType &rt)
 
HRESULT Set (const AM_MEDIA_TYPE &rt)
 
BOOL IsValid () const
 
const GUID * Type () const
 
void SetType (const GUID *)
 
const GUID * Subtype () const
 
void SetSubtype (const GUID *)
 
BOOL IsFixedSize () const
 
BOOL IsTemporalCompressed () const
 
ULONG GetSampleSize () const
 
void SetSampleSize (ULONG sz)
 
void SetVariableSize ()
 
void SetTemporalCompression (BOOL bCompressed)
 
BYTE * Format () const
 
ULONG FormatLength () const
 
void SetFormatType (const GUID *)
 
const GUID * FormatType () const
 
BOOL SetFormat (BYTE *pFormat, ULONG length)
 
void ResetFormatBuffer ()
 
BYTE * AllocFormatBuffer (ULONG length)
 
BYTE * ReallocFormatBuffer (ULONG length)
 
void InitMediaType ()
 
BOOL MatchesPartial (const CMediaType *ppartial) const
 
BOOL IsPartiallySpecified (void) const
 

The documentation for this class was generated from the following file: