IrDA Framework
ContentsIndexHome
PreviousUpNext
wclCommon::wclCreateMutex Function

Creates a new mutex with given name.

Syntax
C++
HANDLE wclCreateMutex(tstring& Name, bool Unique, bool Own = false);
Parameters 
Description 
tstring& Name 
The mutex name.  
bool Unique 
Set this to True to create a process depended unique mutex. Otherwise system wide named mutex will be created.  
bool Own = false 
The optionam parameter (default value is false indicates if the Mutex must be owned by a called.  

If the function succeed the return value is the Mutex handle. If the function failed the return value is zero.

Copyright (c) 2006-2018. All rights reserved.