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 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 "dlls/kernel32/module.c". source.winehq.org/source/dlls/kernel32/module.c

Debug channel "module".


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