SHCreateThread (SHLWAPI.16)
BOOL SHCreateThread ( LPTHREAD_START_ROUTINE pfnThreadProc, VOID* pData, DWORD dwFlags, LPTHREAD_START_ROUTINE pfnCallback )
Create a new thread.
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. |
Success: TRUE. pfnThreadProc was executed.
Failure: FALSE. pfnThreadProc was not executed.
If the thread cannot be created, pfnCallback is NULL, and dwFlags has bit CTF_INSIST set, pfnThreadProc will be executed synchronously.
Defined in "shlwapi.h".
Implemented in "dlls/shlwapi/thread.c". source.winehq.org/source/dlls/shlwapi/thread.c
Debug channel "shell".
Copyright © 2005 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Aug 2005.