fFlags | The P6THREADFLAGS to use for this thread. Currently this MUST be set to P6TF_NONE. |
pcszwThreadName | A pointer to a P6WCHAR* containing the name of the thread. This will be displayed in the running thread table and returned by getThreadInfo(). The name is limited to P6MAXTHREADNAME characters in length. |
cStack | The size of the new threads stack, or zero to the operating systems default (recommended). |
nPriority | The P6THREADPRIORITY that the thread will have when it starts. |
pfnThread | The address of the thread P6THREADMAIN routine. This is the threads "main" and will be called with pArg when the thread is started. When the routine exits, the thread will be terminated. |
pArg | A caller defined context that wil be passed into the thread on startup. |