Hi,
Here's the thing.
I recently bought a PCI Tv Tuner with a remote control (AverMedia Hybrid 007) and i want to use that remote control to control my PC (maybe create a basic media center application using media players that support slave mode, something like mplayer).
The way i see it i have two options:
- Using the existing driver that came with the card
- Writing a new driver that will interface only with the card's ir sensor
And now my questions / troubles: Using method 1: Is the driver "generic" enough so i can use it in another application, or is it binded to the application that came with the pci card. I know this question is kind of stupid but i don't know how else to put it?
How can i access the card's driver in Visual C++. I have read that getting a device driver handle is done by using the CreateFile() function, but i can't find the device name (something resembling "\\.\Driver"). Do you know a way to find it out. I don't really need code, but some pointers to existing documentation. Anything will be helpfull.
Using method 2: To be able to write a driver for the device, do i need to know the hardware specifications of it? If yes, can i use some sort of probing to access it's features?
I come from a web development background, but i have had some experience with C/C++ and i'm a quick learner.
I don't need existing application to resolve my problem because i want to learn how to do it myself; and yes i have searched google but all i got was documentation regarding pci drivers in linux and some vague tutorials regarding pci drivers in windows.
Any kind of help will be appreciated.
Thanks in advance, Vlad Balmos