Closes an iwin32 handle and, if it is the last handle for the object, deletes the object.
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 the Windows' GetLastError function. 
 
Requirements
| Versions | 
Defined in | 
Include | 
Link to | 
| INtime 3.0 | 
intime/nt/include/iwin32x.h | 
iwin32x.h | 
iwin32x.lib | 
 
Notes
- This function operates within the context of Windows applications. 
 - The iwin32 API also includes an RtCloseHandle function that operates in the real-time portion of your application. 
 
See Also
iwin32x API, iwin32 Overview