wclMutexCreate(String, Boolean) Method |
Creates or opens a named mutex object.
Namespace: wclSyncAssembly: wclCommon (in wclCommon.dll) Version: 7.13.7.0 (7.13.7.0)
Syntaxpublic static wclMutex Create(
string Name,
out bool Exist
)
Public Shared Function Create (
Name As String,
<OutAttribute> ByRef Exist As Boolean
) As wclMutex
public:
static wclMutex^ Create(
String^ Name,
[OutAttribute] bool% Exist
)
Parameters
- Name String
- The mutex name.
- Exist Boolean
- If the method completed with success the parameter
indicates whether a named mutex object was just created or existing
was opened. True indicates that a mutex object was opened.
False indicates that a new mutex object was created.
Return Value
wclMutex If the method completed with success the returning value is
a new
wclMutex class object. If the method failed the
returning value is
null.
See Also