次の方法で共有


CMediaType::SetFormatType (Compact 2013)

3/26/2014

Sets the GUID that describes the content of the format block.

Syntax

void SetFormatType(
  const GUID* pformattype 
);

Parameters

  • pformattype
    GUID describing the format type.

Return Value

None.

Remarks

The format GUID describes what can be expected to be found in the variable-length format block. For example, if the format type is FORMAT_VideoInfo, the format block should contain a VIDEOINFOHEADER structure. The creator of this object is responsible for making them consistent.

Requirements

Header

dshow.h,
Streams.h

Library

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

See Also

Reference

CMediaType Class