Austin English : kernel32: Add stub for QueryMemoryResourceNotification.
Alexandre Julliard
julliard at winehq.org
Tue Jun 29 10:25:19 CDT 2010
Module: wine
Branch: master
Commit: 5dca2545f20ca1f1f0487a0f4b861178eaf2cffa
URL: http://source.winehq.org/git/wine.git/?a=commit;h=5dca2545f20ca1f1f0487a0f4b861178eaf2cffa
Author: Austin English <austinenglish at gmail.com>
Date: Mon Jun 28 15:28:59 2010 -0500
kernel32: Add stub for QueryMemoryResourceNotification.
---
dlls/kernel32/kernel32.spec | 2 +-
dlls/kernel32/sync.c | 9 +++++++++
2 files changed, 10 insertions(+), 1 deletions(-)
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-cvs
mailing list