mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
remove unimplemented functions
test more verbose svn path=/trunk/; revision=1406
This commit is contained in:
parent
76ba7eadb1
commit
3f76d0e8a9
1 changed files with 3 additions and 0 deletions
|
@ -191,6 +191,7 @@ void test2(void)
|
||||||
,0,NULL,REG_OPTION_VOLATILE,NULL);
|
,0,NULL,REG_OPTION_VOLATILE,NULL);
|
||||||
dprintf("\t\tStatus=%x\n",Status);
|
dprintf("\t\tStatus=%x\n",Status);
|
||||||
NtClose(hKey);
|
NtClose(hKey);
|
||||||
|
do_enumeratekey(L"\\Registry\\Machine\\Software");
|
||||||
dprintf(" ...\\test2 :");
|
dprintf(" ...\\test2 :");
|
||||||
RtlInitUnicodeString(&KeyName, L"\\Registry\\Machine\\Software\\test2reactos\\test2");
|
RtlInitUnicodeString(&KeyName, L"\\Registry\\Machine\\Software\\test2reactos\\test2");
|
||||||
InitializeObjectAttributes(&ObjectAttributes, &KeyName, OBJ_CASE_INSENSITIVE
|
InitializeObjectAttributes(&ObjectAttributes, &KeyName, OBJ_CASE_INSENSITIVE
|
||||||
|
@ -596,8 +597,10 @@ void test5(void)
|
||||||
Status=NtOpenProcessToken(GetCurrentProcess()
|
Status=NtOpenProcessToken(GetCurrentProcess()
|
||||||
,TOKEN_ADJUST_PRIVILEGES|TOKEN_QUERY,&Token);
|
,TOKEN_ADJUST_PRIVILEGES|TOKEN_QUERY,&Token);
|
||||||
dprintf("\t\t\t\tStatus =%x\n",Status);
|
dprintf("\t\t\t\tStatus =%x\n",Status);
|
||||||
|
/*
|
||||||
bRes=LookupPrivilegeValueA(NULL,SE_RESTORE_NAME,&Luid);
|
bRes=LookupPrivilegeValueA(NULL,SE_RESTORE_NAME,&Luid);
|
||||||
dprintf("\t\t\t\tbRes =%x\n",bRes);
|
dprintf("\t\t\t\tbRes =%x\n",bRes);
|
||||||
|
*/
|
||||||
NewPrivileges.PrivilegeCount = 1;
|
NewPrivileges.PrivilegeCount = 1;
|
||||||
NewPrivileges.Privileges[0].Luid = Luid;
|
NewPrivileges.Privileges[0].Luid = Luid;
|
||||||
NewPrivileges.Privileges[0].Attributes = SE_PRIVILEGE_ENABLED;
|
NewPrivileges.Privileges[0].Attributes = SE_PRIVILEGE_ENABLED;
|
||||||
|
|
Loading…
Reference in a new issue