MSFN Forum: Adding DWORD values via INF AddReg Directive - MSFN Forum

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Adding DWORD values via INF AddReg Directive Rate Topic: -----

#1 User is offline   naaloh 

  • Newbie
  • Group: Members
  • Posts: 23
  • Joined: 12-February 12
  • OS:ME
  • Country: Country Flag

Posted 16 August 2012 - 11:02 AM

I noticed that this page of the MDGx website ends with the following passage:

Quote

Using an INF there is not a way to add dwords in Windows 95/98/ME, but there is a way to trick the system to believe that you did:
Set a binary key to the value of 01,00,00,00. This will reflect the same as a dword of one.

This is not exactly correct. On Windows ME I was able to add DWORD values in accordance with this MSDN article, namely by using the 0x00010001 flag. I don't know if it works on Windows 95/98, but Windows ME entries like
HKLM,Software\Microsoft\Windows\CurrentVersion\SharedDLLs,%11%\atl70.dll,65537,01,00,00,00
do produce the desired DWORD values in the registry (0x00000001 in the sample entry). The MSDN artice is also useful because it lists all possible flags. For instance, you can use 65539 instead of 65537 to keep any existing value in the registry instead of replacing it.


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy