INtime SDK Help
RtOpenMutex (iwin32x)
INtime SDK v7 > About INtime > Alternate APIs > iwin32 API > iwin32x API > RtOpenMutex (iwin32x)

Searches for an existing mutex with the given name and returns its handle.

HANDLE RtOpenMutex(
    DWORD dwDesiredAccess,
    BOOLEAN bInheritHandle,
    LPCTSTR lpName
);

Parameters

dwDesiredAccess
Ignored.
bInheritHandle
Ignored.
lpName
Pointer to a null-terminated string that names the mutex to open. Name comparisons are case-sensitive.

Remarks

RtOpenMutex can also be used from a Windows application to obtain the handle of an iWin32 mutex.

Return Values

A handle to the mutex object
Success.
NULL
Failure. For extended error information, see the Windows' GetLastError function.

Requirements

Versions Defined in Include Link to
INtime 3.0 intime/nt/include/iwin32x.h iwin32x.h iwin32x.lib

Notes

See Also

iwin32x API, iwin32 Overview