ltmmWMProfile.CreateNewMutualExclusion Method

Visual Basic Example

Syntax

object.CreateNewMutualExclusion() As ltmmWMMutualExclusion

Remarks

Creates a mutual exclusion object. The mutual exclusion objects are used to specify a number of streams, of mutually exclusive streams. This means that only one stream can be used or delivered at a time. The ltmmWMMutualExclusion object is not externally creatable; it can only be accessed through the returned ltmmWMMutualExclusion object.

Please note that creating a new mutual exclusion object does not automatically add it to the profile. The new mutual exclusion object must be created using ltmmWMProfile.CreateNewMutualExclusion, and then configured using the ltmmMutualExclusion objects methods and properties. The configured mutual exclusion object must then be added to the profile using ltmmWMProfile.AddMutualExclusion.

For more information, refer to the Microsoft documentation for IWMProfile::CreateNewMutualExclusion at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmform11/htm/iwmprofilecreatenewmutualexclusion.asp.

See Also

Elements:

ltmmWMProfile.Description Property, ltmmWMProfile.MutualExclusionCount Property, ltmmWMProfile.Name Property, ltmmWMProfile.StreamCount Property, ltmmWMProfile.Version Property, ltmmWMProfile.AddMutualExclusion Method, ltmmWMProfile.AddStream Method, ltmmWMProfile.CreateNewStream Method, ltmmWMProfile.GetMutualExclusion Method, ltmmWMProfile.GetStream Method, ltmmWMProfile.GetStreamByNumber Method, ltmmWMProfile.ReconfigStream Method, ltmmWMProfile.RemoveMutualExclusion Method, ltmmWMProfile.RemoveStream Method, ltmmWMProfile.RemoveStreamByNumber Method

Topics:

Multimedia Properties, Methods and Events

 

Windows Media Support