Windows Media Format SDK banner art
PreviousNext

IWMProfile::AddMutualExclusion

The AddMutualExclusion method adds a mutual exclusion object to the profile.

Syntax

HRESULT AddMutualExclusion(
  IWMMutualExclusion*  pME
);

Parameters

  pME

[in]  Pointer to an IWMMutualExclusion object.

Return Values

If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.

Return code Meaning
E_INVALIDARG pME == NULL or guidType != CLSID_WMMUTEX_Bitrate
E_OUTOFMEMORY Couldn't create MutualExclusion
E_UNEXPECTED Miscellaneous internal errors.
NS_E_INVALID_STREAM A stream number in the MutualExclusion being added is not part of the profile.

See Also

PreviousNext


© 1999 Microsoft Corporation. All rights reserved.