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
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.
HKLM,Software\Microsoft\Windows\CurrentVersion\SharedDLLs,%11%\atl70.dll,65537,01,00,00,00do 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.