ReactOS  0.4.14-dev-606-g14ebc0b
regtools.h
Go to the documentation of this file.
1 // Copyright (C) Alexander Telyatnikov, Ivan Keliukh, Yegor Anchishkin, SKIF Software, 1999-2013. Kiev, Ukraine
3 // All rights reserved
4 // This file was released under the GPLv2 on June 2015.
6 
7 #ifndef __MULTIENV_REG_TOOLS__H__
8 #define __MULTIENV_REG_TOOLS__H__
9 
10 #include "check_env.h"
11 
12 #ifndef WIN_32_MODE
13 #define HKEY HANDLE
14 #endif //WIN_32_MODE
15 
18  IN HKEY hRootKey,
20  OUT HKEY* hKey
21  );
22 
23 VOID
25  IN HKEY hKey
26  );
27 
28 BOOLEAN
30  IN HKEY hRootKey,
32  IN PCWSTR Name,
33  IN PULONG pUlong
34  );
35 
36 BOOLEAN
38  IN HKEY hRootKey,
40  IN PCWSTR Name,
41  IN PWCHAR pStr,
42  IN ULONG MaxLen
43  );
44 
45 #endif //__MULTIENV_REG_TOOLS__H__
_Must_inspect_result_ _Out_ PNDIS_STATUS _In_ NDIS_HANDLE _In_ ULONG _Out_ PNDIS_STRING KeyName
Definition: ndis.h:4711
const uint16_t * PCWSTR
Definition: typedefs.h:55
#define IN
Definition: typedefs.h:38
NTSTATUS RegTGetKeyHandle(IN HKEY hRootKey, IN PCWSTR KeyName, OUT HKEY *hKey)
VOID RegTCloseKeyHandle(IN HKEY hKey)
Definition: regtools.cpp:86
LONG NTSTATUS
Definition: precomp.h:26
uint16_t * PWCHAR
Definition: typedefs.h:54
unsigned char BOOLEAN
BOOLEAN RegTGetStringValue(IN HKEY hRootKey, IN PCWSTR RegistryPath, IN PCWSTR Name, IN PWCHAR pStr, IN ULONG MaxLen)
Definition: regtools.cpp:189
BOOLEAN RegTGetDwordValue(IN HKEY hRootKey, IN PCWSTR RegistryPath, IN PCWSTR Name, IN PULONG pUlong)
Definition: regtools.cpp:99
unsigned int * PULONG
Definition: retypes.h:1
#define OUT
Definition: typedefs.h:39
unsigned int ULONG
Definition: retypes.h:1
_In_ PUNICODE_STRING RegistryPath
Definition: wmip.h:27