SHCreateThread3w
Usage
BOOL SHCreateThread
(
LPTHREAD_START_ROUTINE pfnThreadProc,
VOID* pData,
DWORD dwFlags,
LPTHREAD_START_ROUTINE pfnCallback
)
Overview
Create a new thread.
Params
pfnThreadProc [In] Function to execute in new thread.
pData [In] Application specific data passed to pfnThreadProc.
dwFlags [In] CTF_ flags from "shlwapi.h".
pfnCallback [In] Function to execute before pfnThreadProc.
Returns
Success: TRUE. pfnThreadProc was executed.
Failure: FALSE. pfnThreadProc was not executed.
Notes
If the thread cannot be created, pfnCallback is NULL, and dwFlags has bit CTF_INSIST set, pfnThreadProc will be executed synchronously.
Implementation
Declared in "shlwapi.h".
Implemented in "dlls/shlwapi/thread.c".
Debug channel "shell".
Releases
4 releases since Debian 4.0 (Etch); the text changed 3 times.