IMFASFMutualExclusion::GetRecordCount method (wmcontainer.h)

Retrieves the number of records in the Advanced Systems Format mutual exclusion object.

Syntax

HRESULT GetRecordCount(
  [out] DWORD *pdwRecordCount
);

Parameters

[out] pdwRecordCount

Receives the count of records.

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

Each record includes one or more streams. Every stream in a record is mutually exclusive of streams in every other record.

Use this method in conjunction with IMFASFMutualExclusion::GetStreamsForRecord to retrieve the streams that are included in each 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

IMFASFMutualExclusion::AddRecord

IMFASFMutualExclusion::GetStreamsForRecord

IMFASFMutualExclusion::RemoveRecord

Using Mutual Exclusion for ASF Streams