advapi32: Fix the process access rights value for Vista.
This commit is contained in:
parent
83b21a6d5b
commit
3c53fcc4c4
|
@ -1900,7 +1900,7 @@ static void test_process_security_child(void)
|
|||
&handle, PROCESS_ALL_ACCESS, TRUE, 0 ),
|
||||
"duplicating handle err:%d\n", GetLastError());
|
||||
TEST_GRANTED_ACCESS2( handle, PROCESS_ALL_ACCESS,
|
||||
STANDARD_RIGHTS_ALL | SPECIFIC_RIGHTS_ALL );
|
||||
PROCESS_ALL_ACCESS | PROCESS_QUERY_LIMITED_INFORMATION );
|
||||
ok(DuplicateHandle( GetCurrentProcess(), handle, GetCurrentProcess(),
|
||||
&handle1, PROCESS_VM_READ, TRUE, 0 ),
|
||||
"duplicating handle err:%d\n", GetLastError());
|
||||
|
|
|
@ -4023,6 +4023,7 @@ typedef enum tagSID_NAME_USE {
|
|||
#define PROCESS_SET_INFORMATION 0x0200
|
||||
#define PROCESS_QUERY_INFORMATION 0x0400
|
||||
#define PROCESS_SUSPEND_RESUME 0x0800
|
||||
#define PROCESS_QUERY_LIMITED_INFORMATION 0x1000
|
||||
#define PROCESS_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED|SYNCHRONIZE|0xfff)
|
||||
|
||||
#define THREAD_TERMINATE 0x0001
|
||||
|
|
Loading…
Reference in New Issue