Searches for an existing mutex with the given name and returns its handle.
HANDLE OpenMutex( DWORD dwDesiredAccess, BOOLEAN bInheritHandle, LPCTSTR lpName ); HANDLE RtOpenMutex( DWORD dwDesiredAccess, BOOLEAN bInheritHandle, LPCTSTR lpName );
dwDesiredAccess
bInheritHandle
lpName
RtOpenMutex can also be used from a Windows application to obtain the handle of an iWin32 mutex.
Versions | Defined in | Include | Link to |
---|---|---|---|
INtime 3.0 | intime/rt/include/iwin32.h intime/rt/include/winbase.h |
iwin32.h windows.h |
iwin32.lib |
Notes
CloseHandle, CreateEvent, CreateMutex, ReleaseMutex, iwin32 API, iwin32 Overview