Jump to content

INF Quick Question (Syntax Related)


Recommended Posts

Im trying to add a ramdisk to my WinPE disc. Just had a quick question reguarding these INF entries.

0x4,"ControlSet001\Services\Ramdriv\Parameters","DebugComp",0xffffffff
0x4,"ControlSet001\Services\Ramdriv\Parameters","DiskSize",0x04000000
0x1,"ControlSet001\Services\Ramdriv\Parameters","DriveLetter","B:"
0x4,"ControlSet001\Services\Ramdriv\Parameters","RootDirEntries",0x00000200
0x4,"ControlSet001\Services\Ramdriv\Parameters","SectorsPerCluster",0x00000002

What do the 0x4, 0x1 etc represent? I noticed theres no HKLM or HKCU.. Is this them in another form?

Cheers

Link to comment
Share on other sites


my bad.. i just looked @ BartPE its used for reg key type

specifies the type of information to be stored as the value’s data. This parameter can be one of the following values:
0x0, (REG_NONE) create the key only, no value
0x1, (REG_SZ) string
0x2, (REG_EXPAND_SZ) string (with environment variable references)
0x3, (REG_BINARY) binary data
0x4, (REG_DWORD) 32-bit number
0x7, (REG_MULTI_SZ) multiple strings
* Note: must start with "0x" (lowercase)!

im guessing its the same for winpe

download bartPE (3MB) & look @ the plugin help

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...