1*c2c66affSColin Finck //////////////////////////////////////////////////////////////////// 2*c2c66affSColin Finck // Copyright (C) Alexander Telyatnikov, Ivan Keliukh, Yegor Anchishkin, SKIF Software, 1999-2013. Kiev, Ukraine 3*c2c66affSColin Finck // All rights reserved 4*c2c66affSColin Finck // This file was released under the GPLv2 on June 2015. 5*c2c66affSColin Finck //////////////////////////////////////////////////////////////////// 6*c2c66affSColin Finck 7*c2c66affSColin Finck #ifndef __MULTIENV_REG_TOOLS__H__ 8*c2c66affSColin Finck #define __MULTIENV_REG_TOOLS__H__ 9*c2c66affSColin Finck 10*c2c66affSColin Finck #include "check_env.h" 11*c2c66affSColin Finck 12*c2c66affSColin Finck #ifndef WIN_32_MODE 13*c2c66affSColin Finck #define HKEY HANDLE 14*c2c66affSColin Finck #endif //WIN_32_MODE 15*c2c66affSColin Finck 16*c2c66affSColin Finck NTSTATUS 17*c2c66affSColin Finck RegTGetKeyHandle( 18*c2c66affSColin Finck IN HKEY hRootKey, 19*c2c66affSColin Finck IN PCWSTR KeyName, 20*c2c66affSColin Finck OUT HKEY* hKey 21*c2c66affSColin Finck ); 22*c2c66affSColin Finck 23*c2c66affSColin Finck VOID 24*c2c66affSColin Finck RegTCloseKeyHandle( 25*c2c66affSColin Finck IN HKEY hKey 26*c2c66affSColin Finck ); 27*c2c66affSColin Finck 28*c2c66affSColin Finck BOOLEAN 29*c2c66affSColin Finck RegTGetDwordValue( 30*c2c66affSColin Finck IN HKEY hRootKey, 31*c2c66affSColin Finck IN PCWSTR RegistryPath, 32*c2c66affSColin Finck IN PCWSTR Name, 33*c2c66affSColin Finck IN PULONG pUlong 34*c2c66affSColin Finck ); 35*c2c66affSColin Finck 36*c2c66affSColin Finck BOOLEAN 37*c2c66affSColin Finck RegTGetStringValue( 38*c2c66affSColin Finck IN HKEY hRootKey, 39*c2c66affSColin Finck IN PCWSTR RegistryPath, 40*c2c66affSColin Finck IN PCWSTR Name, 41*c2c66affSColin Finck IN PWCHAR pStr, 42*c2c66affSColin Finck IN ULONG MaxLen 43*c2c66affSColin Finck ); 44*c2c66affSColin Finck 45*c2c66affSColin Finck #endif //__MULTIENV_REG_TOOLS__H__