
#DEFINE HKEY_CLASSES_ROOT		-2147483648  && BITSET(0,31)
#DEFINE HKEY_CURRENT_USER		-2147483647  && BITSET(0,31)+1
#DEFINE HKEY_LOCAL_MACHINE		-2147483646  && BITSET(0,31)+2
#DEFINE HKEY_USERS				-2147483645  && BITSET(0,31)+3
#define HKEY_PERFORMANCE_DATA	-2147483644  && BITSET(0,31)+4
#DEFINE HKEY_CURRENT_CONFIG		-2147483643  && BITSET(0,31)+5
#define HKEY_DYN_DATA			-2147483642  && BITSET(0,31)+6

#define REG_NONE                    ( 0 )   && No value type
#define REG_SZ                      ( 1 )   && Unicode nul terminated string
#define REG_EXPAND_SZ               ( 2 )   && Unicode nul terminated string
                                            && (with environment variable references)
#define REG_BINARY                  ( 3 )   && Free form binary
#define REG_DWORD                   ( 4 )   && 32-bit number
#define REG_DWORD_LITTLE_ENDIAN     ( 4 )   && 32-bit number (same as REG_DWORD)
#define REG_DWORD_BIG_ENDIAN        ( 5 )   && 32-bit number
#define REG_LINK                    ( 6 )   && Symbolic Link (unicode)
#define REG_MULTI_SZ                ( 7 )   && Multiple Unicode strings
#define REG_RESOURCE_LIST           ( 8 )   && Resource list in the resource map
#define REG_FULL_RESOURCE_DESCRIPTOR ( 9 )  && Resource list in the hardware description
#define REG_RESOURCE_REQUIREMENTS_LIST ( 10 )

#DEFINE ERROR_SUCCESS		0 && no more entries in key
#DEFINE ERROR_EOF 			259 && no more entries in key
#DEFINE ERROR_MORE_DATA		234 && no more entries in key
