IMFASFMutualExclusion::Clone method (wmcontainer.h)

Creates a copy of the Advanced Systems Format mutual exclusion object.

Syntax

HRESULT Clone(
  [out] IMFASFMutualExclusion **ppIMutex
);

Parameters

[out] ppIMutex

Receives a pointer to the IMFASFMutualExclusion interface of the new object. The caller must release the interface.

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

The cloned object is a new object, completely independent of the object from which it was cloned.

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