Home |
RTKernel-32 Programming Manual Miscellaneous RTKernel-32 Operations Function RTKSetTaskStartStopHook Function RTKDeallocTerminatedTasks Function RTKToWin32Handle |
Function RTKToWin32HandleFor On Time RTOS-32 applications, RTKernel-32 supplies this function to translate an RTKernel-32 task handle to a Win32 thread handle: HANDLE RTKToWin32Handle(RTKTaskHandle H); ParametersHRTKernel-32 task handle to translate to a Win32 thread handle. return valueIf H references an existing task which was created by Win32's CreateThread function and the handle returned by CreateThread has not been closed, this function returns the original Win32 handle of the referenced task. Otherwise, the returned value is INVALID_HANDLE_VALUE.
|