Win2K INF Files (Understanding)
Results 1 to 4 of 4

Thread: Win2K INF Files (Understanding)

  1. #1
    Senior Member Info Tech Geek's Avatar
    Join Date
    Jan 2003
    Location
    Vernon, CT
    Posts
    828

    Win2K INF Files (Understanding)

    How do you read the information in an inf file? Exspecially all of the Registry Edits?

  2. #2
    Just Another Geek
    Join Date
    Jul 2002
    Location
    Rotterdam, Netherlands
    Posts
    3,401
    You can find alot of this info on MSDN
    Just search for inf file.
    Oliver's Law:
    Experience is something you don't get until just after you need it.

  3. #3
    Senior Member Info Tech Geek's Avatar
    Join Date
    Jan 2003
    Location
    Vernon, CT
    Posts
    828
    I was looking for some information to help understand the inf features by doing a line by line review. The basic settings portion is pretty much in plain english. However, when you get to the registry edits regarding folder properties and the root section it is all gibberish.

  4. #4
    Senior Member
    Join Date
    Jun 2003
    Posts
    188
    Hi Info,

    The following may help

    1. INF files have two types of entries.
    a) Private Profile Section
    This is a section like
    [Connection]
    b) Private Profile string
    This is a line with a key and value ex.
    Password="hellyeah!!"
    here Password is the key and "hellyeah!!" is its value
    2. The following functions are used to Read the INF file
    a) GetPrivateProfileSection
    Gets the section.
    b) GetPrivateProfileString
    Gets the value of a key.
    3. The following functions are used to Write the INF file
    a) WritePrivateProfileSection
    Writes a section.
    b) WritePrivateProfileString
    Writes the value of a key.
    4. Get the function details in the MSDN or if you are a VB programmer use the API text Viewer

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •