CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    12

    How can I read address of Input/Output range of the Resource of a specific device ?

    hi All,

    Can anyone tell me how can i access the device of the resource in Win2000, inorder for me to know the input/output range of the device in the system? e.g, i have a Input/Output card that are auto detect by the Win2000, in order for me to control the operation of the I/O , I have to know the address of the Input/Output range.
    (see attachement file)

    Is there a API for that?

    regards,
    james
    Last edited by James Goh; March 10th, 2004 at 08:31 PM.

  2. #2
    Join Date
    Sep 2002
    Location
    Maryland - Fear The Turtle!
    Posts
    7,537
    I would think this would be a good place to start looking...

    http://msdn.microsoft.com/library/de...management.asp

    I've used the functions for other things, such as disabling a device, I have not used them to lookup resources, but I could almost guarentte the call back in the MMC snapin for devicemanagement when you select the propertiy pages, does a SetupDI(...) call to retrieve the resources, that's just a guess.

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured