IltmmWMMutualExclusion::put_Type

#include "ltmm.h"

C Syntax

HRESULT IltmmMutualExclusion_put_Type(pMutualExclusion, newVal)

C++ Syntax

HRESULT put_Type(newVal)

 

IltmmWMMutualExclusion *pMutualExclusion;

/* pointer to an interface */

BSTR newVal;

/* string */

Sets a CLSID string that identifies the type of mutual exclusion.

Parameter

Description

pMutualExclusion

Pointer to an IltmmWMMutualExclusion interface.

newVal

A string containing the CLSID string that identifies the mutual exclusion type to set.

Returns

S_OK

The function was successful.

<> S_OK

An error occurred. Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation.

Comments

The string used by this function must be a CLSID string. Possible values are:

Type

Description

String

Language

Mutual exclusion is based on bit rate; streams might differ only in bit rate.

"{D6E22A00-35DA-11D1-9034-00A0C90349BE}"

Bitrate

Mutual exclusion is based on language; streams are recorded with different languages.

"{D6E22A01-35DA-11D1-9034-00A0C90349BE}"

Presentation

Mutual exclusion is based on aspect ratio; streams have different aspect ratios of the video frame.

"{D6E22A02-35DA-11D1-9034-00A0C90349BE}"

Unknown

Custom mutual exclusion.

"{D6E22A03-35DA-11D1-9034-00A0C90349BE}"

For more information, refer to the Microsoft documentation for IWMMutualExclusion::SetType .

Required DLLs and Libraries

LTMM

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Platforms

Win32, x64

See Also

Elements:

IltmmWMMutualExclusion::AddStream, IltmmWMMutualExclusion::GetStream, IltmmWMMutualExclusion::get_StreamCount, IltmmWMMutualExclusion::get_Type, IltmmWMMutualExclusion::RemoveStream

Topics:

Windows Media Support

 

Multimedia Function Group

Example

For a C example, refer to IltmmWMProfile::AddStream Example for C.

For a C++ example, refer to IltmmWMProfile::AddStream Example for C++.