Beginner: Where do I start??

  • Thread starter Thread starter wild_bunch
  • Start date Start date
W

wild_bunch

Hi...
I am a total newbie in writing drivers and there've been some time
since I've written Win32 code. I was at some job interview and they gave
me a "homework". I have to write a driver for xp that makes windows
media encoder "think" that it's connected to capture device while it's
actully connected to file.

I think I understand where to begin but I have some problems with
frameworking...
I have a lot of questions about building a driver but to start
with...:
Do I have to use VS2005 or i can use vs6?
Must I have ddk?
How do I build a project for driver? does it have to be dll or exe?
Do i work with kernel mode or not? If not then do I have to get myself
a UMDF?
etc.
As you can see I am a total newbie...
Hope that you guys han help me (with theoretical stuff/ code /advices
etc.)
Thanx u guys..
Wb
 
Not having done anything with encoders and capture devices I will leave
this to others. For the questions on the compiler and the DDK. The
current DDK's have a compiler in them, get the WDK which will allow you to
build drivers for Windows 2000 and up, and includes all the tools you need
(except for an editor).

You should consider asking this on
microsoft.public.development.device.drivers since that is the primary
newsgroup for this stuff, with only a few of us watching this one.

--
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
Remove StopSpam to reply
 
Hi...
I am a total newbie in writing drivers and there've been some time
since I've written Win32 code. I was at some job interview and they gave
me a "homework". I have to write a driver for xp that makes windows
media encoder "think" that it's connected to capture device while it's
actully connected to file.

I think I understand where to begin but I have some problems with
frameworking...
I have a lot of questions about building a driver but to start
with...:
Do I have to use VS2005 or i can use vs6?
Must I have ddk?
How do I build a project for driver? does it have to be dll or exe?
Do i work with kernel mode or not? If not then do I have to get myself
a UMDF?
etc.
As you can see I am a total newbie...
Hope that you guys han help me (with theoretical stuff/ code /advices
etc.)
Thanx u guys..
Wb

First, the solution doesn't have to be implimented as a driver, you
could impliment it as a DirectShow capture filter which is 100% user
mode stuff. If a driver implimentation is a hard requirement, then
download the latest DDK (they call it a WDK now, actually) and look at
the avstream capture samples. Start with that code. From there it's
a relatively simple task of reading data from a file using kernal mode
file I/O calls.

If you build a driver, you'll use the tools in the WDK. If you build
a DS capture filter, you'll use whatever version of VS you have.
 
Back
Top