[UDFS] Import a UDF File System Driver created by Alexander Telyatnikov (Alter) and...
[reactos.git] / reactos / drivers / filesystems / udfs / Include / regtools.h
1 ////////////////////////////////////////////////////////////////////
2 // Copyright (C) Alexander Telyatnikov, Ivan Keliukh, Yegor Anchishkin, SKIF Software, 1999-2013. Kiev, Ukraine
3 // All rights reserved
4 ////////////////////////////////////////////////////////////////////
5
6 #ifndef __MULTIENV_REG_TOOLS__H__
7 #define __MULTIENV_REG_TOOLS__H__
8
9 #include "check_env.h"
10
11 #ifndef WIN_32_MODE
12 #define HKEY HANDLE
13 #endif //WIN_32_MODE
14
15 NTSTATUS
16 RegTGetKeyHandle(
17 IN HKEY hRootKey,
18 IN PWCHAR KeyName,
19 OUT HKEY* hKey
20 );
21
22 VOID
23 RegTCloseKeyHandle(
24 IN HKEY hKey
25 );
26
27 BOOLEAN
28 RegTGetDwordValue(
29 IN HKEY hRootKey,
30 IN PWSTR RegistryPath,
31 IN PWSTR Name,
32 IN PULONG pUlong
33 );
34
35 BOOLEAN
36 RegTGetStringValue(
37 IN HKEY hRootKey,
38 IN PWSTR RegistryPath,
39 IN PWSTR Name,
40 IN PWCHAR pStr,
41 IN ULONG MaxLen
42 );
43
44 #endif //__MULTIENV_REG_TOOLS__H__