Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
448d7770
Commit
448d7770
authored
Feb 07, 2014
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Feb 07, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Use PROCESS_ALL_ACCESS definition compatible with versions of Windows before Vista.
parent
5a311d69
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
process.c
dlls/kernel32/tests/process.c
+4
-1
No files found.
dlls/kernel32/tests/process.c
View file @
448d7770
...
...
@@ -35,6 +35,9 @@
#include "wine/test.h"
/* PROCESS_ALL_ACCESS in Vista+ PSDKs is incompatible with older Windows versions */
#define PROCESS_ALL_ACCESS_NT4 (PROCESS_ALL_ACCESS & ~0xf000)
#define expect_eq_d(expected, actual) \
do { \
int value = (actual); \
...
...
@@ -1522,7 +1525,7 @@ static void test_OpenProcess(void)
}
/* without PROCESS_VM_OPERATION */
hproc
=
OpenProcess
(
PROCESS_ALL_ACCESS
&
~
PROCESS_VM_OPERATION
,
FALSE
,
GetCurrentProcessId
());
hproc
=
OpenProcess
(
PROCESS_ALL_ACCESS
_NT4
&
~
PROCESS_VM_OPERATION
,
FALSE
,
GetCurrentProcessId
());
ok
(
hproc
!=
NULL
,
"OpenProcess error %d
\n
"
,
GetLastError
());
SetLastError
(
0xdeadbeef
);
...
...
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