IWMEncProfile2::get_ContentType

Windows Media Encoder SDK banner art

The get_ContentType method retrieves the type of content streams that the current profile supports.

Syntax

HRESULT get_ContentType(
  long*  plSrcType
);

Parameters

plSrcType

[out]  Pointer to a long that indicates which types of streams the profile supports.

Number Description
0 Does not support any content.
1 Supports audio content.
16 Supports video content.
256 Supports script content.
17 Supports audio and video content.
257 Supports audio and script content.
272 Supports video and script content.
273 Supports audio, video, and script content.
4113 Supports audio, video, and HTML content.
4369 Supports audio, video, script, and HTML content.

Return Values

If the method succeeds, it returns S_OK. If it fails, it supports the IErrorInfo interface and returns an HRESULT error code.

Return code Number Description
E_POINTER 0x80004003 The pointer to the source type is NULL.

Requirements

Header: wmencode.h

Library: wmenc.exe

See Also