Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
40dd77bf
Commit
40dd77bf
authored
Jul 15, 2005
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Jul 15, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make VIRTUAL_HandleFault return an NTSTATUS.
parent
28f15a3b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
ntdll_misc.h
dlls/ntdll/ntdll_misc.h
+1
-1
virtual.c
dlls/ntdll/virtual.c
+2
-2
No files found.
dlls/ntdll/ntdll_misc.h
View file @
40dd77bf
...
...
@@ -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
);
...
...
dlls/ntdll/virtual.c
View file @
40dd77bf
...
...
@@ -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
)))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment