|
Previous Top Next |
The Registry class has several very useful methods to deal with Windows Registry. Note that the some of the methods can be forces to access 32 or 64 bit keys on 64 bit systems for keys that reside in the Wow6432Node and in the 64 bit area. Essentially it allows you to access the 32 or 64bit values independently of the WoW64 subsystem and without redirection by the WoW64.
ITRegistryClass CLASS(ITUtilityClass),TYPE,Module('ITRegistryClass.clw'),Link('ITRegistryClass.clw',_ITUtilLinkMode_),DLL(_ITUtilDllMode_)
RegistryKeys &tRegQueue
KeyHandle IT_HKEY
ValueStr &CString
ValueDW IT_DWORD
ValueInt64 LIKE(IT_ULARGE_INT)
ValueBuffer &String
CloseRegistryKey Procedure(UNSIGNED pKeyHandle)
EnumRegistrySubKeys Procedure(UNSIGNED pMasterKey, String pRegKey, Byte pUseBits=0),Long,PROC
OpenRegistryKey Procedure(UNSIGNED pMasterKey, String pRegKey, Byte pUseBits=0),UNSIGNED
GetRegEx Procedure(Long pRoot, String pKeyname, <String pValuename>, <*LONG pValuetype>, Byte pUseBits=0),ANY
PutRegEx Procedure(Long pRoot, String pKeyname, String pValuename, String pValue, <LONG pValuetype>, Byte pUseBits=0),STRING
GetValueType Procedure(UNSIGNED pKeyHandle, String pValuename),Long
QueryValue Procedure(UNSIGNED pKeyHandle, String pValueName, Long pValueType=REG_SZ)
Construct Procedure
Destruct Procedure
END