LEADTOOLS Multimedia API Help > LEADTOOLS Multimedia Features > Multimedia Function References > IltmmWMMutualExclusion Interface > IltmmWMMutualExclusion::get_Type |
#include "ltmm.h"
C Syntax |
HRESULT IltmmMutualExclusion_get_Type(pMutualExclusion, pVal) |
C++ Syntax |
HRESULT get_Type(pVal) |
IltmmWMMutualExclusion *pMutualExclusion; |
/* pointer to an interface */ |
BSTR *pVal; |
/* pointer to a string */ |
Retrieves a CLSID string that identifies the type of mutual exclusion.
Parameter |
Description |
pMutualExclusion |
Pointer to an IltmmWMMutualExclusion interface. |
pVal |
Pointer to a string to be updated with the CLSID string that identifies the type of mutual exclusion. |
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 retrieved by this function is 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}" |
Call SysFreeString to free the memory allocated for the string when it is no longer needed.
For more information, refer to the Microsoft documentation for IWMMutualExclusion::GetType .
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. |
Win32, x64
See Also
Elements: |
IltmmWMMutualExclusion::AddStream, IltmmWMMutualExclusion::GetStream, IltmmWMMutualExclusion::get_StreamCount, IltmmWMMutualExclusion::RemoveStream, IltmmWMMutualExclusion::put_Type |
Topics: |
|
|
Example
For a C example, refer to IltmmWMProfile::get_MutualExclusionCount Example for C.
For a C++ example, refer to IltmmWMProfile::get_MutualExclusionCount Example for C++.