SHCreateThread(3w)

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.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.