kernelbase: Implement UnmapViewOfFile2().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
d63db81295
commit
757f9e9751
|
@ -1653,6 +1653,7 @@
|
|||
@ stdcall UnlockFile(long long long long long)
|
||||
@ stdcall UnlockFileEx(long long long long ptr)
|
||||
@ stdcall UnmapViewOfFile(ptr)
|
||||
@ stdcall UnmapViewOfFile2(long ptr long)
|
||||
# @ stub UnmapViewOfFileEx
|
||||
# @ stub UnregisterBadMemoryNotification
|
||||
# @ stub UnregisterGPNotificationInternal
|
||||
|
|
|
@ -303,6 +303,15 @@ BOOL WINAPI DECLSPEC_HOTPATCH UnmapViewOfFile( const void *addr )
|
|||
}
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
* UnmapViewOfFile2 (kernelbase.@)
|
||||
*/
|
||||
BOOL WINAPI DECLSPEC_HOTPATCH UnmapViewOfFile2( HANDLE process, void *addr, ULONG flags )
|
||||
{
|
||||
return set_ntstatus( NtUnmapViewOfSectionEx( process, addr, flags ));
|
||||
}
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
* VirtualAlloc (kernelbase.@)
|
||||
*/
|
||||
|
|
|
@ -2741,6 +2741,7 @@ WINBASEAPI BOOL WINAPI UnlockFileEx(HANDLE,DWORD,DWORD,DWORD,LPOVERLAPPED
|
|||
#define UnlockResource(handle) ((handle), 0)
|
||||
#define UnlockSegment(handle) GlobalUnfix((HANDLE)(handle))
|
||||
WINBASEAPI BOOL WINAPI UnmapViewOfFile(LPCVOID);
|
||||
WINBASEAPI BOOL WINAPI UnmapViewOfFile2(HANDLE,PVOID,ULONG);
|
||||
WINBASEAPI BOOL WINAPI UmsThreadYield(void *);
|
||||
WINBASEAPI HRESULT WINAPI UnregisterApplicationRestart(void);
|
||||
WINBASEAPI BOOL WINAPI UnregisterWait(HANDLE);
|
||||
|
|
Loading…
Reference in New Issue