CfixCreateThread
Use CfixCreateThread whenever you need to create a thread from within a test case and intend to call cfix APIs (i.e. CFIX_ASSERT etc) on this thread. CfixCreateThread is a wrapper for CreateThread with the added functionality that the thread is registered so that cfix can properly relate any assertions etc. raised on this thread to the current test case.
See MSDN for discussion of parameters and usage description.
CFIXAPI HANDLE CFIXCALLTYPE CfixCreateThread( __in_opt PSECURITY_ATTRIBUTES ThreadAttributes, __in SIZE_T StackSize, __in PTHREAD_START_ROUTINE StartAddress, __in_opt PVOID Parameter, __in DWORD CreationFlags, __out_opt PDWORD ThreadId );
This routine has been superseded by CfixCreateThread2. Calling CfixCreateThread is equivalent to calling CfixCreateThread2 with parameter Flags set to 0.