creating shared memory mutex in dll
This commit is contained in:
parent
86c16a7197
commit
88c28ec995
2 changed files with 2 additions and 26 deletions
|
|
@ -95,10 +95,7 @@ Return Value:
|
|||
*phMemory = 0;
|
||||
*pMemory = NULL;
|
||||
|
||||
*phMutex = OpenMutex(SYNCHRONIZE,
|
||||
FALSE,
|
||||
TEXT(NFS41NP_MUTEX_NAME));
|
||||
|
||||
*phMutex = CreateMutex(NULL, FALSE, TEXT(NFS41NP_MUTEX_NAME));
|
||||
if (*phMutex == NULL)
|
||||
{
|
||||
dwStatus = GetLastError();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue