kernel32: add stub for QueryMemoryResourceNotification
Austin English
austinenglish at gmail.com
Mon Jun 28 15:28:59 CDT 2010
For http://bugs.winehq.org/show_bug.cgi?id=23425
--
-Austin
-------------- next part --------------
diff --git a/dlls/kernel32/kernel32.spec b/dlls/kernel32/kernel32.spec
index dbcb179..843e97c 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 0ba2ad1..eac08c8 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__
More information about the wine-patches
mailing list