-
Notifications
You must be signed in to change notification settings - Fork 0
/
registry.c
42 lines (37 loc) · 869 Bytes
/
registry.c
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
#include "progwrp.h"
#include "export.h"
#include "implementations.h"
NTSTATUS NTAPI NtOpenKey(
PHANDLE KeyHandle,
ACCESS_MASK DesiredAccess,
POBJECT_ATTRIBUTES ObjectAttributes);
NTSTATUS NTAPI Implementation_NtOpenKeyEx(
PHANDLE KeyHandle,
ACCESS_MASK DesiredAccess,
POBJECT_ATTRIBUTES ObjectAttributes,
ULONG OpenOptions
)
{
return NtOpenKey(KeyHandle, DesiredAccess, ObjectAttributes);
}
LSTATUS WINAPI Implementation_RegDeleteKeyExW(
HKEY hKey,
LPCWSTR lpSubKey,
REGSAM samDesired,
DWORD Reserved
)
{
return RegDeleteKeyW(hKey, lpSubKey);
}
LSTATUS WINAPI Implementation_RegGetValueW(
HKEY hkey,
LPCWSTR lpSubKey,
LPCWSTR lpValue,
DWORD dwFlags,
LPDWORD pdwType,
PVOID pvData,
LPDWORD pcbData
)
{
return RegQueryValueW(hkey, lpSubKey, lpValue, pcbData);
}