DLL_INIT_ROUTINE - NtDoc

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

//
// DLLs
//

/**
 * The DLL_INIT_ROUTINE is the entry point for a DLL.
 *
 * \param DllHandle A handle to the DLL.
 * \param Reason The reason the entry point is being called.
 * \param Context A pointer to a context.
 * \return BOOLEAN TRUE if the DLL was successfully initialized, FALSE otherwise.
 */
typedef _Function_class_(DLL_INIT_ROUTINE)
BOOLEAN NTAPI DLL_INIT_ROUTINE(
    _In_ PVOID DllHandle,
    _In_ ULONG Reason,
    _In_opt_ PVOID Context
    );

#endif

View code on GitHub

NtDoc

No description available.