Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. Article Writing
  4. Get PCI device info

Get PCI device info

Scheduled Pinned Locked Moved Article Writing
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    marky
    wrote on last edited by
    #1

    Hello! What I want to do is get some code (pref C++) to enumerate the PCI devices in a machine and retrieve their names.. Is it possible? Can anybody point me in the right direction? Thanks!:-O

    L 3 Replies Last reply
    0
    • M marky

      Hello! What I want to do is get some code (pref C++) to enumerate the PCI devices in a machine and retrieve their names.. Is it possible? Can anybody point me in the right direction? Thanks!:-O

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Hello, There is a DOS based program with sourcecode at http://www.pobox.com/~ralf/files.html#RBpci. There is a LINUX library with sourcecode at http://atrey.karlin.mff.cuni.cz/~mj/pciutils.html Best regards Eddy Steevens

      1 Reply Last reply
      0
      • M marky

        Hello! What I want to do is get some code (pref C++) to enumerate the PCI devices in a machine and retrieve their names.. Is it possible? Can anybody point me in the right direction? Thanks!:-O

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        > I want to [...] enumerate the PCI devices Unless you tell in what environment you want to accomplish this it's impossible to give an answer.

        1 Reply Last reply
        0
        • M marky

          Hello! What I want to do is get some code (pref C++) to enumerate the PCI devices in a machine and retrieve their names.. Is it possible? Can anybody point me in the right direction? Thanks!:-O

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          If you are wanting to do this in Windows, check out the CONFIGMG_* api. This is the api that windows uses to run Device Manager and such. MSDN has plenty of info... check it out. :cool: If everybody thinks alike, then somebody isn't thinking...

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups