The MASM Forum Archive 2004 to 2012

Project Support Forums => MASM32 => WINDOWS.INC Project => Topic started by: dedndave on December 22, 2010, 05:19:58 AM

Title: HKEY Registry EQUate's
Post by: dedndave on December 22, 2010, 05:19:58 AM
these are already in windows.inc...
HKEY_CLASSES_ROOT                EQU 80000000h
HKEY_CURRENT_USER                EQU 80000001h
HKEY_LOCAL_MACHINE               EQU 80000002h
HKEY_USERS                       EQU 80000003h
HKEY_PERFORMANCE_DATA            EQU 80000004h
HKEY_CURRENT_CONFIG              EQU 80000005h
HKEY_DYN_DATA                    EQU 80000006h ;missing in MSDN documentation


these are not...
HKEY_CURRENT_USER_LOCAL_SETTINGS EQU 80000007h ;new for win7
HKEY_PERFORMANCE_TEXT            EQU 80000050h
HKEY_PERFORMANCE_NLSTEXT         EQU 80000060h
Title: Re: HKEY Registry EQUate's
Post by: dedndave on December 22, 2010, 05:35:10 AM
while we're on the subject, a few registry data types that are missing...
REG_RESOURCE_LIST                EQU 8         ;Resource list in the resource map
REG_FULL_RESOURCE_DESCRIPTOR     EQU 9         ;Resource list in the hardware description
REG_RESOURCE_REQUIREMENTS_LIST   EQU 10        ;Resource requirements list
Title: Re: HKEY Registry EQUate's
Post by: ToutEnMasm on December 22, 2010, 08:28:38 AM

The windows.inc + winextra.inc had a size of 1,6 Mo.
The translate of the SDK (without the c++ code) had a size of 35 Mo.
Is it useful to make a list of what it is and what it isn't in the windows.inc ?
With a difference of 33 Mo , you can write many mails without solve the problem !?
Title: Re: HKEY Registry EQUate's
Post by: ToutEnMasm on December 22, 2010, 08:43:56 AM
For fun , i had calculate some %:
Your modifies :406 octets
The difference between the translated sdk and windows.inc :36 706 160 octets
This represent  0,001 % of all the differences.
:wink
Title: Re: HKEY Registry EQUate's
Post by: dedndave on December 22, 2010, 11:37:14 AM
ok Yves - we won't add anything else to windows.inc
and i will keep everything i find to myself