INtime SDK Help
CloseHandle, RtCloseHandle (iwin32)
INtime SDK v7 > About INtime > Alternate APIs > iwin32 API > iwin32 API > CloseHandle, RtCloseHandle (iwin32)

Closes a handle and, if it is the object's last handle, deletes the object.

BOOLEAN CloseHandle(
    HANDLE    hObject
);

BOOLEAN RtCloseHandle(
    HANDLE    hObject
);

Parameters

hObject
Handle to an open iwin32 object.

Return Values

non-0 (zero)
Success.
0 (zero)
Failure. For extended error information, see GetLastError.

Remarks

You can also use RtCloseHandle from a Windows application to close an iwin32 handle.

Requirements

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

See Also

iwin32 API, iwin32 Overview