Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: LinuxDriverCalls
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
Your Filters
Interested
Ignored
     
0 Shai Vashdi 1,628
1 Tadit Dash 375
2 Manas Bhardwaj 319
3 Sergey Alexandrovich Kryukov 275
4 OriginalGriff 243
0 Sergey Alexandrovich Kryukov 9,530
1 OriginalGriff 5,711
2 Peter Leow 4,320
3 Maciej Los 3,540
4 Abhinav S 3,373


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