Click here to Skip to main content
13,143,985 members (34,794 online)
Rate this:
Please Sign up or sign in to vote.
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.

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
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).

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 |
Web02 | 2.8.170915.1 | Last Updated 19 Jun 2012
Copyright © CodeProject, 1999-2017
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