Creates a thread with the entry point specified by the func argument.
THREADAPI_RESULT ThreadAPI_Create( THREAD_HANDLE threadHandle, THREAD_START_FUNC func, void * arg );
threadHandleThe handle to the new thread is returned in this pointer.
funcA function pointer that indicates the entry point to the new thread.
argA void pointer that must be passed to the function pointed to by func.
THREADAPI_OK if the API call is successful or an error code in case it fails.