mirror of
https://github.com/reactos/wine.git
synced 2025-01-19 10:13:01 +00:00
Make VIRTUAL_HandleFault return an NTSTATUS.
This commit is contained in:
parent
28f15a3bdf
commit
40dd77bf5a
@ -89,7 +89,7 @@ extern NTSTATUS FILE_GetNtStatus(void);
|
||||
extern BOOL DIR_is_hidden_file( const UNICODE_STRING *name );
|
||||
|
||||
/* virtual memory */
|
||||
extern DWORD VIRTUAL_HandleFault(LPCVOID addr);
|
||||
extern NTSTATUS VIRTUAL_HandleFault(LPCVOID addr);
|
||||
extern BOOL VIRTUAL_HasMapping( LPCVOID addr );
|
||||
extern void VIRTUAL_UseLargeAddressSpace(void);
|
||||
|
||||
|
@ -1097,10 +1097,10 @@ void virtual_init(void)
|
||||
/***********************************************************************
|
||||
* VIRTUAL_HandleFault
|
||||
*/
|
||||
DWORD VIRTUAL_HandleFault( LPCVOID addr )
|
||||
NTSTATUS VIRTUAL_HandleFault( LPCVOID addr )
|
||||
{
|
||||
FILE_VIEW *view;
|
||||
DWORD ret = EXCEPTION_ACCESS_VIOLATION;
|
||||
NTSTATUS ret = STATUS_ACCESS_VIOLATION;
|
||||
|
||||
RtlEnterCriticalSection( &csVirtual );
|
||||
if ((view = VIRTUAL_FindView( addr )))
|
||||
|
Loading…
x
Reference in New Issue
Block a user