SHCreateThread(3w)

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(3w) to obtain a pointer to the function.

Implemented in "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/shlwapi/thread.c".

Debug channel "shell".
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout