kernel32: Added GetWriteWatch and ResetWriteWatch.
This commit is contained in:
parent
6c7ff61639
commit
23be27ef80
|
@ -671,7 +671,7 @@
|
||||||
# @ stub GetVolumePathNamesForVolumeNameW
|
# @ stub GetVolumePathNamesForVolumeNameW
|
||||||
@ stdcall GetWindowsDirectoryA(ptr long)
|
@ stdcall GetWindowsDirectoryA(ptr long)
|
||||||
@ stdcall GetWindowsDirectoryW(ptr long)
|
@ stdcall GetWindowsDirectoryW(ptr long)
|
||||||
@ stub GetWriteWatch
|
@ stdcall GetWriteWatch(long ptr long ptr ptr ptr)
|
||||||
@ stdcall GlobalAddAtomA(str)
|
@ stdcall GlobalAddAtomA(str)
|
||||||
@ stdcall GlobalAddAtomW(wstr)
|
@ stdcall GlobalAddAtomW(wstr)
|
||||||
@ stdcall GlobalAlloc(long long)
|
@ stdcall GlobalAlloc(long long)
|
||||||
|
@ -917,7 +917,7 @@
|
||||||
@ stub RequestDeviceWakeup
|
@ stub RequestDeviceWakeup
|
||||||
@ stdcall RequestWakeupLatency(long)
|
@ stdcall RequestWakeupLatency(long)
|
||||||
@ stdcall ResetEvent(long)
|
@ stdcall ResetEvent(long)
|
||||||
@ stub ResetWriteWatch
|
@ stdcall ResetWriteWatch(ptr long)
|
||||||
@ stdcall RestoreLastError(long) ntdll.RtlRestoreLastWin32Error
|
@ stdcall RestoreLastError(long) ntdll.RtlRestoreLastWin32Error
|
||||||
@ stdcall ResumeThread(long)
|
@ stdcall ResumeThread(long)
|
||||||
# @ stub RtlCaptureContext ( -> ntdll.RtlCaptureContext)
|
# @ stub RtlCaptureContext ( -> ntdll.RtlCaptureContext)
|
||||||
|
|
|
@ -601,6 +601,33 @@ BOOL WINAPI FlushViewOfFile( LPCVOID base, SIZE_T size )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
* GetWriteWatch (KERNEL32.@)
|
||||||
|
*/
|
||||||
|
UINT WINAPI GetWriteWatch( DWORD flags, LPVOID base, SIZE_T size, LPVOID *addresses,
|
||||||
|
ULONG_PTR *count, ULONG *granularity )
|
||||||
|
{
|
||||||
|
NTSTATUS status;
|
||||||
|
|
||||||
|
status = NtGetWriteWatch( GetCurrentProcess(), flags, base, size, addresses, count, granularity );
|
||||||
|
if (status) SetLastError( RtlNtStatusToDosError(status) );
|
||||||
|
return status ? ~0u : 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
* ResetWriteWatch (KERNEL32.@)
|
||||||
|
*/
|
||||||
|
UINT WINAPI ResetWriteWatch( LPVOID base, SIZE_T size )
|
||||||
|
{
|
||||||
|
NTSTATUS status;
|
||||||
|
|
||||||
|
status = NtResetWriteWatch( GetCurrentProcess(), base, size );
|
||||||
|
if (status) SetLastError( RtlNtStatusToDosError(status) );
|
||||||
|
return status ? ~0u : 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* IsBadReadPtr (KERNEL32.@)
|
* IsBadReadPtr (KERNEL32.@)
|
||||||
*
|
*
|
||||||
|
|
|
@ -1759,6 +1759,7 @@ WINBASEAPI BOOL WINAPI GetVolumePathNamesForVolumeNameW(LPCWSTR,LPWSTR,DW
|
||||||
WINBASEAPI UINT WINAPI GetWindowsDirectoryA(LPSTR,UINT);
|
WINBASEAPI UINT WINAPI GetWindowsDirectoryA(LPSTR,UINT);
|
||||||
WINBASEAPI UINT WINAPI GetWindowsDirectoryW(LPWSTR,UINT);
|
WINBASEAPI UINT WINAPI GetWindowsDirectoryW(LPWSTR,UINT);
|
||||||
#define GetWindowsDirectory WINELIB_NAME_AW(GetWindowsDirectory)
|
#define GetWindowsDirectory WINELIB_NAME_AW(GetWindowsDirectory)
|
||||||
|
WINBASEAPI UINT WINAPI GetWriteWatch(DWORD,LPVOID,SIZE_T,LPVOID*,ULONG_PTR*,ULONG*);
|
||||||
WINBASEAPI ATOM WINAPI GlobalAddAtomA(LPCSTR);
|
WINBASEAPI ATOM WINAPI GlobalAddAtomA(LPCSTR);
|
||||||
WINBASEAPI ATOM WINAPI GlobalAddAtomW(LPCWSTR);
|
WINBASEAPI ATOM WINAPI GlobalAddAtomW(LPCWSTR);
|
||||||
#define GlobalAddAtom WINELIB_NAME_AW(GlobalAddAtom)
|
#define GlobalAddAtom WINELIB_NAME_AW(GlobalAddAtom)
|
||||||
|
@ -1989,6 +1990,7 @@ WINADVAPI BOOL WINAPI ReportEventW(HANDLE,WORD,WORD,DWORD,PSID,WORD,DWOR
|
||||||
WINBASEAPI BOOL WINAPI RequestWakeupLatency(LATENCY_TIME latency);
|
WINBASEAPI BOOL WINAPI RequestWakeupLatency(LATENCY_TIME latency);
|
||||||
#define ReportEvent WINELIB_NAME_AW(ReportEvent)
|
#define ReportEvent WINELIB_NAME_AW(ReportEvent)
|
||||||
WINBASEAPI BOOL WINAPI ResetEvent(HANDLE);
|
WINBASEAPI BOOL WINAPI ResetEvent(HANDLE);
|
||||||
|
WINBASEAPI UINT WINAPI ResetWriteWatch(LPVOID,SIZE_T);
|
||||||
WINBASEAPI DWORD WINAPI ResumeThread(HANDLE);
|
WINBASEAPI DWORD WINAPI ResumeThread(HANDLE);
|
||||||
WINADVAPI BOOL WINAPI RevertToSelf(void);
|
WINADVAPI BOOL WINAPI RevertToSelf(void);
|
||||||
WINBASEAPI DWORD WINAPI SearchPathA(LPCSTR,LPCSTR,LPCSTR,DWORD,LPSTR,LPSTR*);
|
WINBASEAPI DWORD WINAPI SearchPathA(LPCSTR,LPCSTR,LPCSTR,DWORD,LPSTR,LPSTR*);
|
||||||
|
|
Loading…
Reference in New Issue