kernel32: Added stub for CreateMemoryResourceNotification.

This commit is contained in:
Stefan Leichter 2009-11-14 09:58:47 +01:00 committed by Alexandre Julliard
parent 7f2943e712
commit 7f1fe90e7f
3 changed files with 18 additions and 1 deletions

View File

@ -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)

View File

@ -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__
/***********************************************************************

View File

@ -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)