kernel32: Add K32GetWsChangesEx stub.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47131 Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
6a20bb2daf
commit
fb4116ee02
|
@ -9,7 +9,7 @@
|
|||
@ stdcall K32GetProcessImageFileNameW(long ptr long) kernel32.K32GetProcessImageFileNameW
|
||||
@ stdcall K32GetProcessMemoryInfo(long ptr long) kernel32.K32GetProcessMemoryInfo
|
||||
@ stdcall K32GetWsChanges(long ptr long) kernel32.K32GetWsChanges
|
||||
@ stub K32GetWsChangesEx
|
||||
@ stdcall K32GetWsChangesEx(long ptr ptr) kernel32.K32GetWsChangesEx
|
||||
@ stdcall K32InitializeProcessForWsWatch(long) kernel32.K32InitializeProcessForWsWatch
|
||||
@ stdcall K32QueryWorkingSet(long ptr long) kernel32.K32QueryWorkingSet
|
||||
@ stdcall K32QueryWorkingSetEx(long ptr long) kernel32.K32QueryWorkingSetEx
|
||||
|
|
|
@ -1018,7 +1018,7 @@
|
|||
@ stdcall K32GetProcessImageFileNameW(long ptr long)
|
||||
@ stdcall K32GetProcessMemoryInfo(long ptr long)
|
||||
@ stdcall K32GetWsChanges(long ptr long)
|
||||
# @ stub K32GetWsChangesEx
|
||||
@ stdcall K32GetWsChangesEx(long ptr ptr)
|
||||
@ stdcall K32InitializeProcessForWsWatch(long)
|
||||
@ stdcall K32QueryWorkingSet(long ptr long)
|
||||
@ stdcall K32QueryWorkingSetEx(long ptr long)
|
||||
|
|
|
@ -724,6 +724,17 @@ BOOL WINAPI K32GetWsChanges(HANDLE process, PPSAPI_WS_WATCH_INFORMATION watchinf
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* K32GetWsChangesEx (KERNEL32.@)
|
||||
*/
|
||||
BOOL WINAPI K32GetWsChangesEx(HANDLE process, PSAPI_WS_WATCH_INFORMATION_EX *watchinfoex, DWORD *size)
|
||||
{
|
||||
FIXME_(seh)("(%p, %p, %p)\n", process, watchinfoex, size);
|
||||
|
||||
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* K32InitializeProcessForWsWatch (KERNEL32.@)
|
||||
*/
|
||||
|
|
|
@ -908,7 +908,7 @@
|
|||
@ stdcall K32GetProcessImageFileNameW(long ptr long) kernel32.K32GetProcessImageFileNameW
|
||||
@ stdcall K32GetProcessMemoryInfo(long ptr long) kernel32.K32GetProcessMemoryInfo
|
||||
@ stdcall K32GetWsChanges(long ptr long) kernel32.K32GetWsChanges
|
||||
# @ stub K32GetWsChangesEx
|
||||
@ stdcall K32GetWsChangesEx(long ptr ptr) kernel32.K32GetWsChangesEx
|
||||
@ stdcall K32InitializeProcessForWsWatch(long) kernel32.K32InitializeProcessForWsWatch
|
||||
@ stdcall K32QueryWorkingSet(long ptr long) kernel32.K32QueryWorkingSet
|
||||
@ stdcall K32QueryWorkingSetEx(long ptr long) kernel32.K32QueryWorkingSetEx
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
@ stdcall GetProcessImageFileNameW(long ptr long) kernel32.K32GetProcessImageFileNameW
|
||||
@ stdcall GetProcessMemoryInfo(long ptr long) kernel32.K32GetProcessMemoryInfo
|
||||
@ stdcall GetWsChanges(long ptr long) kernel32.K32GetWsChanges
|
||||
@ stdcall GetWsChangesEx(long ptr ptr) kernel32.K32GetWsChangesEx
|
||||
@ stdcall InitializeProcessForWsWatch(long) kernel32.K32InitializeProcessForWsWatch
|
||||
@ stdcall QueryWorkingSet(long ptr long) kernel32.K32QueryWorkingSet
|
||||
@ stdcall QueryWorkingSetEx(long ptr long) kernel32.K32QueryWorkingSetEx
|
||||
|
|
|
@ -50,6 +50,12 @@ typedef struct _PSAPI_WS_WATCH_INFORMATION {
|
|||
LPVOID FaultingVa;
|
||||
} PSAPI_WS_WATCH_INFORMATION, *PPSAPI_WS_WATCH_INFORMATION;
|
||||
|
||||
typedef struct _PSAPI_WS_WATCH_INFORMATION_EX {
|
||||
PSAPI_WS_WATCH_INFORMATION BasicInfo;
|
||||
ULONG_PTR FaultingThreadId;
|
||||
ULONG_PTR Flags;
|
||||
} PSAPI_WS_WATCH_INFORMATION_EX, *PPSAPI_WS_WATCH_INFORMATION_EX;
|
||||
|
||||
typedef struct _PERFORMANCE_INFORMATION {
|
||||
DWORD cb;
|
||||
SIZE_T CommitTotal;
|
||||
|
@ -128,6 +134,7 @@ BOOL WINAPI QueryWorkingSet(HANDLE, PVOID, DWORD);
|
|||
BOOL WINAPI QueryWorkingSetEx(HANDLE, PVOID, DWORD);
|
||||
BOOL WINAPI InitializeProcessForWsWatch(HANDLE);
|
||||
BOOL WINAPI GetWsChanges(HANDLE, PPSAPI_WS_WATCH_INFORMATION, DWORD);
|
||||
BOOL WINAPI GetWsChangesEx(HANDLE, PSAPI_WS_WATCH_INFORMATION_EX*, DWORD*);
|
||||
DWORD WINAPI GetMappedFileNameW(HANDLE, LPVOID, LPWSTR, DWORD);
|
||||
DWORD WINAPI GetMappedFileNameA(HANDLE, LPVOID, LPSTR, DWORD);
|
||||
#define GetMappedFileName WINELIB_NAME_AW(GetMappedFileName)
|
||||
|
|
Loading…
Reference in New Issue