#include <nt.h>
#include <ntrtl.h>
#include <nturtl.h>
#include "cmp.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Go to the source code of this file.
Defines | |
#define | WORK_SIZE 1024 |
Functions | |
void __cdecl | main (int, char *) |
void | processargs () |
void __cdecl | main (int argc, char *argv[]) |
void | processargs (int argc, char *argv[]) |
Variables | |
UNICODE_STRING | KeyPath |
WCHAR | KeyPathBuffer [WORK_SIZE] |
UNICODE_STRING | NewName |
WCHAR | NewNameBuffer [WORK_SIZE] |
UNICODE_STRING | OldName |
WCHAR | OldNameBuffer [WORK_SIZE] |
|
Definition at line 37 of file rtreplac.c. |
|
Definition at line 51 of file rtreplac.c. References exit, FALSE, KeyPath, KeyPathBuffer, L, NewName, NewNameBuffer, NT_SUCCESS, NtOpenKey(), NtReplaceKey(), NTSTATUS(), NULL, ObjectAttributes, OldName, OldNameBuffer, processargs(), RtlAdjustPrivilege(), TRUE, and WORK_SIZE.
|
|
|
|
Definition at line 139 of file rtreplac.c. References exit, KeyPath, NewName, NULL, OldName, RtlAnsiStringToUnicodeString(), RtlDosPathNameToNtPathName_U(), RtlInitAnsiString(), and TRUE.
|
|
|
|
Definition at line 42 of file rtreplac.c. |
|
Definition at line 43 of file rtreplac.c. |
|
Definition at line 45 of file rtreplac.c. Referenced by CmpAddSubKey(), CmpAddToLeaf(), CmpLoadHiveVolatile(), CmpSelectLeaf(), main(), MiSessionWideInsertImageAddress(), ObpLookupObjectName(), ObpParseSymbolicLink(), and processargs(). |
|
Definition at line 46 of file rtreplac.c. Referenced by main(). |
|
Definition at line 47 of file rtreplac.c. Referenced by main(), and processargs(). |
|
Definition at line 48 of file rtreplac.c. Referenced by main(). |