LdrpResGetMappingSize - NtDoc

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

// rev
/**
 * The LdrpResGetMappingSize function retrieves the size of a module's mapping.
 *
 * \param BaseAddress The base memory address of the module.
 * \param Size Receives the calculated size of the mapping in bytes.
 * \param Flags Internal flags modifying the calculation.
 * \return NTSTATUS Successful or errant status.
 */
NTSYSAPI
NTSTATUS
NTAPI
LdrpResGetMappingSize(
    _In_ PVOID BaseAddress,
    _Inout_ PSIZE_T Size,
    _In_ LDR_RESOURCE_QUERY_FLAGS Flags,
    _In_ BOOLEAN SkipFileSizeLookup
    );

#endif
#endif
#endif

View code on GitHub

NtDoc

No description available.