-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathregistry.h
49 lines (34 loc) · 989 Bytes
/
registry.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/*++
Module Name:
registry.h
Abstract:
Header for W3WProtects registry functionality. This includes reading the
config from memory, converting the registry value into a string array.
Environment:
Kernel
--*/
#ifndef __PT_REGISTRY_H__
#define __PT_REGISTRY_H__
#include "protect.h"
#include "utility.h"
/*************************************************************************
Registry Config Update Function Prototypes
*************************************************************************/
NTSTATUS
PtUpdateConfig();
NTSTATUS
PtRegQueryValue(
_In_ HANDLE Key,
_In_ PCWSTR ValueName,
_Out_ BYTE* Buffer,
_Out_ PULONG ReturnedSize
);
/*************************************************************************
Registry Notification Function Prototypes
*************************************************************************/
NTSTATUS PtRegNotify(
_In_ PVOID CallbackContext,
_In_ PVOID Argument1,
_Inout_ PVOID Argument2
);
#endif // !__PT_REGISTRY_H__