Creates a new mutex with given name.
- Parameters
-
Name | The mutex name. |
Unique | Set this to true to create a process-dependent unique mutex. Otherwise system wide named mutex will be created. |
Own | The optional parameter (default value is false indicates if the Mutex must be owned by a called. |
- Returns
- If the function succeed the return value is the Mutex handle. If the function failed the return value is
NULL
.