I understand hexadecimal, binary and decimal and how to convert them to
eachother. I also understand the hex numbers in webdesign.
When using regedit in windows xp, you can see two different hex numbers in
two different formats. For example you can see a 0x###### as a value for a
DWORD and you can see hex pairs like ## ## ## ## ,which the pairs are
seperated by a space, as a value for a reg_bianry .
Now I would like to know what is the difference between two different
formats of those hex numbers and why they are seperated by a space in the
second one (is this just to emphasize the bytes?) and how you convert them to
eachother?
Or basically how you interpret the one with the hex pairs?
What I am trying to accomplish is to understand how tweakui changes a
reg_binary value which is in hex pairs and do it myself directly.
Any comments would be apprecaited.
REG_DWORD
Data represented by a number that is 4 bytes long. Many parameters for
device drivers and services are this type and are displayed in Registry
Editor in binary, hexadecimal, or decimal format.
Digit grouping aids in readability. Spaces are used to group hexadecimal
numbers.
hex:80,26,c3,63,74,ec,c5,01 = 80 26 c3 63 74 ec c5 01
--
Hope this helps. Let us know.
Wes
MS-MVP Windows Shell/User
In news:57D81036-334B-48E6...@microsoft.com,
davoud <dav...@discussions.microsoft.com> hunted and pecked:
and If a reg_binary value is 9e 3e 07 80 , tweakui makes the changes by
altering either of the two most left bytes, 9e or 3e. You will notice this,
if you are in General section of tweakui and working with HKCU/control
panel/Desktop/UserPreferencesMask.
I would like to know what do the two most right bytes (07 and 80 for
example) in UserpreferencesMask mean and why tweakui doesnot change them?
Also I believe, to apply a reg_binary data which is for example "Bit 0x0008"
I need to reverse it and apply it to the two most left bytes of the hex
pairs. Am I right? if yes could you explain why?
From...
Microsoft® Windows® XP Registry Guide
Chapter 5: Mapping Tweak UI
http://www.microsoft.com/mspress/books/sampchap/6232.asp
If you do not have the book, click the link.
Also see this...
General
Table 5-1 Values in General
http://www.microsoft.com/mspress/books/sampchap/6232.asp#100
Chapter 5 is TweakUI Registry Settings. Everything you wanted to know.
--
Hope this helps. Let us know.
Wes
MS-MVP Windows Shell/User
In news:9DC8A4AB-E48E-4AC8...@microsoft.com,
davoud <dav...@discussions.microsoft.com> hunted and pecked: