DisableThreadLibraryCalls function kernel32

int DisableThreadLibraryCalls(
  1. int hLibModule
)

Disables the DLL_THREAD_ATTACH and DLL_THREAD_DETACH notifications for the specified dynamic-link library (DLL). This can reduce the size of the working set for some applications.

BOOL DisableThreadLibraryCalls(
  HMODULE hLibModule
);

Implementation

int DisableThreadLibraryCalls(int hLibModule) =>
    _DisableThreadLibraryCalls(hLibModule);