#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 | FileName |
WCHAR | FileNameBuffer [WORK_SIZE] |
BOOLEAN | HiveVolatile |
|
Definition at line 37 of file rtrestor.c. |
|
Definition at line 51 of file rtrestor.c. References exit, FALSE, FileName, FileNameBuffer, HiveVolatile, KeyPath, KeyPathBuffer, L, NT_SUCCESS, NtCreateFile(), NtOpenKey(), NtRestoreKey(), NTSTATUS(), NULL, ObjectAttributes, processargs(), RtlAdjustPrivilege(), TRUE, and WORK_SIZE.
|
|
|
|
Definition at line 151 of file rtrestor.c. References exit, FALSE, FileName, HiveVolatile, KeyPath, NULL, RtlAnsiStringToUnicodeString(), RtlDosPathNameToNtPathName_U(), RtlInitAnsiString(), and TRUE.
|
|
|
|
Definition at line 45 of file rtrestor.c. |
|
Definition at line 46 of file rtrestor.c. |
|
Definition at line 48 of file rtrestor.c. Referenced by main(), and processargs(). |
|
Definition at line 42 of file rtrestor.c. |
|
Definition at line 43 of file rtrestor.c. |