#ifndef _NTLDR_H
#if (PHNT_MODE != PHNT_MODE_KERNEL)
/**
* The LdrFindEntryForAddress routine retrieves the loader data table entry for a given address within a loaded module.
*
* \param DllHandle A pointer to an address within the loaded module (such as the base address of the DLL or any address inside the module).
* \param Entry On success, receives a pointer to the LDR_DATA_TABLE_ENTRY structure corresponding to the module containing the specified address.
* \return NTSTATUS Successful or errant status.
*/
NTSYSAPI
NTSTATUS
NTAPI
LdrFindEntryForAddress(
_In_ PVOID DllHandle,
_Out_ PLDR_DATA_TABLE_ENTRY *Entry
);
View code on GitHubNo description available.