Previous | Next |
The CreateNewMutualExclusion method creates a mutual exclusion object for the profile.
Syntax
HRESULT CreateNewMutualExclusion(
IWMMutualExclusion** ppME
);
Parameters
ppME
[out] Pointer to a 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 | Description |
E_INVALIDARG | ppME is NULL. |
Remarks
This creation method is included as a method to this interface, rather than as an independent function, for clarity: it is not possible to have a mutual exclusion object other than as an element of a profile.
Once you have created the mutual exclusion object, you must configure it and then call AddMutualExclusion to actually create the mutual exclusion in the profile.
See Also
Previous | Next |