DisableThreadLibraryCalls3w
Usage
BOOL DisableThreadLibraryCalls
(
HMODULE hModule
)
Overview
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
Declared in "rpcproxy.h".
Implemented in "dlls/kernel32/module.c".
Debug channel "module".
Releases
6 releases since Debian 2.0 (Hamm); the text changed 5 times.