DisableThreadLibraryCalls(3w)

NAME

DisableThreadLibraryCalls (KERNEL32.@)

SYNOPSIS

BOOL DisableThreadLibraryCalls
 (
  HMODULE hModule
 )

DESCRIPTION

Inform the module loader that thread notifications are not required for a dll.

PARAMS

hModule [In] Module handle to skip calls for.

RETURNS

Success: TRUE. Thread attach and detach notifications will not be sent to hModule.

Failure: FALSE. Use GetLastError(3w) to determine the cause.

NOTES

This is typically called from the dll entry point of a dll during process attachment, for dlls that do not need to process thread notifications.

IMPLEMENTATION

Defined in "rpcproxy.h".

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

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