Commit 7f1fe90e authored by Stefan Leichter's avatar Stefan Leichter Committed by Alexandre Julliard

kernel32: Added stub for CreateMemoryResourceNotification.

parent 7f2943e7
......@@ -236,7 +236,7 @@
@ stub CreateKernelThread
@ stdcall CreateMailslotA(ptr long long ptr)
@ stdcall CreateMailslotW(ptr long long ptr)
# @ stub CreateMemoryResourceNotification
@ stdcall CreateMemoryResourceNotification(long)
@ stdcall CreateMutexA(ptr long str)
@ stdcall CreateMutexExA(ptr str long long)
@ stdcall CreateMutexExW(ptr wstr long long)
......
......@@ -2171,6 +2171,18 @@ BOOL WINAPI BindIoCompletionCallback( HANDLE FileHandle, LPOVERLAPPED_COMPLETION
return FALSE;
}
/***********************************************************************
* CreateMemoryResourceNotification (KERNEL32.@)
*/
HANDLE WINAPI CreateMemoryResourceNotification(MEMORY_RESOURCE_NOTIFICATION_TYPE nt)
{
FIXME("(%d) stub\n", nt);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return NULL;
}
#ifdef __i386__
/***********************************************************************
......
......@@ -501,6 +501,10 @@ typedef struct tagMEMORYSTATUSEX {
} MEMORYSTATUSEX, *LPMEMORYSTATUSEX;
#include <poppack.h>
typedef enum _MEMORY_RESOURCE_NOTIFICATION_TYPE {
LowMemoryResourceNotification,
HighMemoryResourceNotification
} MEMORY_RESOURCE_NOTIFICATION_TYPE;
#ifndef _SYSTEMTIME_
#define _SYSTEMTIME_
......@@ -1391,6 +1395,7 @@ WINBASEAPI HANDLE WINAPI CreateJobObjectW(LPSECURITY_ATTRIBUTES,LPCWSTR);
WINBASEAPI HANDLE WINAPI CreateMailslotA(LPCSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES);
WINBASEAPI HANDLE WINAPI CreateMailslotW(LPCWSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES);
#define CreateMailslot WINELIB_NAME_AW(CreateMailslot)
WINBASEAPI HANDLE WINAPI CreateMemoryResourceNotification(MEMORY_RESOURCE_NOTIFICATION_TYPE);
WINBASEAPI HANDLE WINAPI CreateMutexA(LPSECURITY_ATTRIBUTES,BOOL,LPCSTR);
WINBASEAPI HANDLE WINAPI CreateMutexW(LPSECURITY_ATTRIBUTES,BOOL,LPCWSTR);
#define CreateMutex WINELIB_NAME_AW(CreateMutex)
......
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