creating shared memory mutex in dll

This commit is contained in:
Casey Bodley 2010-10-12 09:56:28 -04:00
parent 86c16a7197
commit 88c28ec995
2 changed files with 2 additions and 26 deletions

View file

@ -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();