remove unimplemented functions

test more verbose

svn path=/trunk/; revision=1406
This commit is contained in:
jean 2000-10-16 15:05:19 +00:00
parent 76ba7eadb1
commit 3f76d0e8a9

View file

@ -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;