Skip to main content
IWMMutualExclusion2 interface

The IWMMutualExclusion2 interface provides advanced configuration features for mutual exclusion objects.

This interface supports both multiple languages and advanced mutual exclusion.

An IWMMutualExclusion2 interface is created for each mutual exclusion object created. To retrieve a pointer to an IWMMutualExclusion2 interface, call the QueryInterface method of the IWMMutualExclusion interface returned by IWMProfile::CreateNewMutualExclusion.

Members

The IWMMutualExclusion2 interface inherits from IWMMutualExclusion. IWMMutualExclusion2 also has these types of members:

Methods

The IWMMutualExclusion2 interface has these methods.

MethodDescription
AddRecord

Adds a record to the mutual exclusion object. Records can hold groups of streams.

AddStreamForRecord

Adds a stream to the list in a record.

GetName

Retrieves the name that has been assigned to the mutual exclusion object through a call to SetName.

GetRecordCount

Retrieves the number of records that exist for the mutual exclusion object.

GetRecordName

Retrieves the name that has been assigned to a record through a call to SetName.

GetStreamsForRecord

Retrieves the list of all streams in a record.

RemoveRecord

Removes a record from the mutual exclusion object.

RemoveStreamForRecord

Removes a stream from the list in a record.

SetName

Assigns a name to the mutual exclusion object.

SetRecordName

Assigns a name to a record.

 

The following interface can be obtained by using the QueryInterface method of this interface.

InterfaceIID
IWMStreamList IID_IWMStreamList
IWMMutualExclusion IID_IWMMutualExclusion

 

See also

IWMMutualExclusion Interface
Mutual Exclusion Object