NAME

SHCreateThread  (SHLWAPI.16)

SYNOPSIS

 BOOL SHCreateThread
 (
  LPTHREAD_START_ROUTINE pfnThreadProc,
  VOID*                  pData,
  DWORD                  dwFlags,
  LPTHREAD_START_ROUTINE pfnCallback
 )

DESCRIPTION

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

Exported by ordinal only. Use GetProcAddress to obtain a pointer to the function.

Implemented in "dlls/shlwapi/thread.c". source.winehq.org/source/dlls/shlwapi/thread.c

Debug channel "shell".


Copyright © 2008 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Jul 2008.