rc = DosWaitThread(ptidThreadID, ulWaitOption);