Click here to Skip to main content
15,886,788 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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

1 solution

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).
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900