IrDA Framework
ContentsIndexHome
PreviousUpNext
wclCreateMutex Function

Creates a new mutex with given name.

Syntax
Pascal
function wclCreateMutex(const Name: string; const Unique: Boolean; const Own: Boolean = False): THandle;
Parameters 
Description 
const Name: string 
The mutex name.  
const Unique: Boolean 
Set this to True to create a process depended unique mutex. Otherwise system wide named mutex will be created.  
const Own: Boolean = False 
The optionam parameter (default value is False indicates if the Mutex must be owned by a called.  

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

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