diff --git a/dlls/kernel32/kernel32.spec b/dlls/kernel32/kernel32.spec index dbcb179f262..843e97c43ac 100644 --- a/dlls/kernel32/kernel32.spec +++ b/dlls/kernel32/kernel32.spec @@ -873,7 +873,7 @@ @ stdcall QueryFullProcessImageNameA(ptr long ptr ptr) @ stdcall QueryFullProcessImageNameW(ptr long ptr ptr) @ stdcall QueryInformationJobObject(long long ptr long ptr) -# @ stub QueryMemoryResourceNotification +@ stdcall QueryMemoryResourceNotification(ptr ptr) @ stub QueryNumberOfEventLogRecords @ stub QueryOldestEventLogRecord @ stdcall QueryPerformanceCounter(ptr) diff --git a/dlls/kernel32/sync.c b/dlls/kernel32/sync.c index 0ba2ad12465..eac08c870ad 100644 --- a/dlls/kernel32/sync.c +++ b/dlls/kernel32/sync.c @@ -2186,6 +2186,15 @@ HANDLE WINAPI CreateMemoryResourceNotification(MEMORY_RESOURCE_NOTIFICATION_TYPE return NULL; } +/*********************************************************************** + * QueryMemoryResourceNotification (KERNEL32.@) + */ +BOOL WINAPI QueryMemoryResourceNotification(HANDLE rnh, PBOOL rs) +{ + FIXME("(%p, %p) stub\n", rnh, rs); + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} #ifdef __i386__