Commit 9b90cfc2 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

ntdll: Make LdrFindResource_U() and LdrFindResourceDirectory_U() patchable.

parent fc878236
...@@ -259,7 +259,7 @@ done: ...@@ -259,7 +259,7 @@ done:
/********************************************************************** /**********************************************************************
* LdrFindResourceDirectory_U (NTDLL.@) * LdrFindResourceDirectory_U (NTDLL.@)
*/ */
NTSTATUS WINAPI LdrFindResourceDirectory_U( HMODULE hmod, const LDR_RESOURCE_INFO *info, NTSTATUS WINAPI DECLSPEC_HOTPATCH LdrFindResourceDirectory_U( HMODULE hmod, const LDR_RESOURCE_INFO *info,
ULONG level, const IMAGE_RESOURCE_DIRECTORY **dir ) ULONG level, const IMAGE_RESOURCE_DIRECTORY **dir )
{ {
const void *res; const void *res;
...@@ -287,7 +287,7 @@ NTSTATUS WINAPI LdrFindResourceDirectory_U( HMODULE hmod, const LDR_RESOURCE_INF ...@@ -287,7 +287,7 @@ NTSTATUS WINAPI LdrFindResourceDirectory_U( HMODULE hmod, const LDR_RESOURCE_INF
/********************************************************************** /**********************************************************************
* LdrFindResource_U (NTDLL.@) * LdrFindResource_U (NTDLL.@)
*/ */
NTSTATUS WINAPI LdrFindResource_U( HMODULE hmod, const LDR_RESOURCE_INFO *info, NTSTATUS WINAPI DECLSPEC_HOTPATCH LdrFindResource_U( HMODULE hmod, const LDR_RESOURCE_INFO *info,
ULONG level, const IMAGE_RESOURCE_DATA_ENTRY **entry ) ULONG level, const IMAGE_RESOURCE_DATA_ENTRY **entry )
{ {
const void *res; const void *res;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment