Click here to Skip to main content
12,511,648 members (46,438 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: Linux Driver
Hi everyone,

1./ I wonder how the "SetupDiGetClassDevs" works in the linux environment?
2./ And if it really doesn't work then do you know a function be like that is available in linux (open sourcecode).
3./ If 1 and 2 is not be solved then please show me some ways to write a function be the same.

If someone know the answers, please help me out.
Any help will be appreciated. Thanks in advanced.

Note:
SetupDiGetClassDevs is the api in the setupapi.h using in the windows environment.
And when programming in windows, we have it already. But in linux it must have the others might work successfully but I don't know.
Posted 18-Jun-12 15:35pm

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

If you are planning to write code for Linux then you need to forget everything you know about Windows. The two Operating Systems are quite different and use different system calls and structures. There is lots of documentation, development guides and even the complete source code, available for Linux, which you can find on the Linux web site(s).
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160929.1 | Last Updated 19 Jun 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100