IMFASFMutualExclusion::AddRecord method (wmcontainer.h)
Adds a record to the mutual exclusion object. A record specifies streams that are mutually exclusive with the streams in all other records.
HRESULT AddRecord( [out] DWORD *pdwRecordNumber );
Receives the index assigned to the new record. Record indexes are zero-based and sequential.
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
||The method succeeded.|
A record can include one or more stream numbers. All of the streams in a record are mutually exclusive with all the streams in all other records in the ASF mutual exclusion object.
You can use records to create complex mutual exclusion scenarios by using multiple ASF mutual exclusion objects.
|Minimum supported client||Windows Vista [desktop apps only]|
|Minimum supported server||Windows Server 2008 [desktop apps only]|