LdrDisableThreadCalloutsForDll - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTLDR_H
#if (PHNT_MODE != PHNT_MODE_KERNEL)

NTSYSAPI
NTSTATUS
NTAPI
LdrDisableThreadCalloutsForDll(
    _In_ PVOID DllHandle
    );

#endif
#endif

View code on GitHub
NTSTATUS LdrDisableThreadCalloutsForDll (
    _In_ PVOID DllHandle
    )
View the official Win32 development documentation

NtDoc

No description available.

Win32 development documentation (ldrdisablethreadcalloutsfordll)

LdrDisableThreadCalloutsForDll function

[This function may be changed or removed from Windows without further notice.]

Disables thread attach and detach callouts to a DLL.

Parameters

DllHandle [in]

Supplies a handle to a loaded DLL.

Return value

Returns an NTSTATUS value indicating success or failure of the function.

Remarks

This function should not be called with the data table lock held with shared access.

Requirements

Requirement Value
DLL Ntdll.dll
Vertdll.dll

See also

Enclaves APIs available in Vertdll