#ifndef _NTLDR_H
#if (PHNT_MODE != PHNT_MODE_KERNEL)
#if (PHNT_VERSION >= PHNT_WIN8)
/**
* The LdrResFindResourceDirectory function finds a resource directory in a DLL.
*
* @param DllHandle A handle to the DLL.
* @param Type The type of the resource.
* @param Name The name of the resource.
* @param ResourceDirectory An optional pointer to receive the resource directory.
* @param CultureName An optional buffer to receive the culture name.
* @param CultureNameLength An optional pointer to receive the length of the culture name.
* @param Flags Flags for the resource search.
* @return NTSTATUS Successful or errant status.
*/
NTSYSAPI
NTSTATUS
NTAPI
LdrResFindResourceDirectory(
_In_ PVOID DllHandle,
_In_ ULONG_PTR Type,
_In_ ULONG_PTR Name,
_Out_opt_ PIMAGE_RESOURCE_DIRECTORY* ResourceDirectory,
_Out_writes_bytes_opt_(CultureNameLength) PVOID CultureName, // WCHAR buffer[6]
_Out_opt_ PULONG CultureNameLength,
_In_ ULONG Flags
);
View code on GitHub
No description available.