Creates or opens a mutex semaphore. Returns a mutex semaphore handle that can be used with SysCloseMutexSem, SysRequestMutexSem, and SysReleaseMutexSem. SysCreateMutexSem returns a null string ("") if the semaphore cannot be created or opened.



The optional mutex semaphore name. If you omit name, SysCreateMutexSem creates an unnamed, shared mutex semaphore. If you specify name, SysCreateMutexSem opens the semaphore if the mutex has already been created. The semaphore names cannot be longer than 63 characters. Semaphore names are case-sensitive.