IMFASFMutualExclusion::RemoveStreamFromRecord method (wmcontainer.h)

Removes a stream number from a record in the Advanced Systems Format mutual exclusion object.

Syntax

HRESULT RemoveStreamFromRecord(
  [in] DWORD dwRecordNumber,
  [in] WORD  wStreamNumber
);

Parameters

[in] dwRecordNumber

The record number from which to remove the stream number.

[in] wStreamNumber

The stream number to remove from the record.

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.
MF_E_INVALIDREQUEST
The stream number is not listed for the specified record.

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

Using Mutual Exclusion for ASF Streams