How to work with drivers

Hi, I have been wondering how software houses create programs that can communicate with drivers in windows. Like a hardware that can take pictures, we can create a program that can ask the hardware to take pictures in different time intervals, change settings for it etc.  
jaxrpcAsked:
Who is Participating?
 
Fernando SotoRetiredCommented:
Hi jaxrpc;

The hardware manufacture develops the driver that will interface to its hardware. When they do this they implement such functions, from your example, to take pictures in different time intervals, change settings for it etc. Sometimes the manufacture will publish the function calls and sometimes they do not. The drivers are written in C / C++ and they will provide a C header file defining any data structures and function call that they will allow you to use.

I hope that this has answered you question.

Fernando
0
 
jaxrpcAuthor Commented:
What if they do not publish the function calls....how to work around it?
0
 
Fernando SotoRetiredCommented:
It's called reveres engineering of the driver program. You could attempt to contact the company and see if they have published these function calls.
0
 
jaxrpcAuthor Commented:
I see...thanks for the answer.....
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.