IMFASFMutualExclusion::RemoveRecord method (wmcontainer.h)

Removes a record from the Advanced Systems Format (ASF) mutual exclusion object.

Syntax

HRESULT RemoveRecord(
  [in] DWORD dwRecordNumber
);

Parameters

[in] dwRecordNumber

The index of the record to remove.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The method succeeded.

Remarks

When a record is removed, the ASF mutual exclusion object indexes the remaining records so that they are sequential starting with zero. You should enumerate the records to ensure that you have the correct index for each record. If the record removed is the one with the highest index, removing it has no effect on the other indexes.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header wmcontainer.h
Library Mfuuid.lib

See also

IMFASFMutualExclusion

IMFASFMutualExclusion::AddRecord

Using Mutual Exclusion for ASF Streams