Re: Driver code sample for software devices?
From: Mark Roddy (mroddy_at_nospam.spamt)
Date: 02/01/04
- Next message: Gana: "Non Pnp/Legacy drivers on win2k / winXP"
- Previous message: Alexander Grigoriev: "Re: User-space buffer, what's the difference?"
- In reply to: BobF: "Re: Driver code sample for software devices?"
- Next in thread: Maxim S. Shatskih: "Re: Driver code sample for software devices?"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 01 Feb 2004 10:50:54 -0500
On Sun, 1 Feb 2004 06:35:33 -0600, "BobF" <rNfOrSePeAzMe@charter.net>
wrote:
>Bryan,
>
>The problem I'm having is getting started. I'm not new to programming, but
>I am new to Windows drivers. I'm trying get my project laid out at a high
>level.
>
>The first question is "How do I make a piece of software show up as a device
>to other applications that are designed to connect to hardware?" I've
>answered this question for myself with the assumption that my app needs to
>be driven by a device driver. That assumption may not be incorrect, but its
>the one I'm working on for now.
>
See the toaster samples in the DDK - this entire collection of drivers
are 'software' devices.
If you are writing a PNP virtual device, it is enumerated off of
'root'.
>The second is how to generate interrupts - this leads to my next assumption;
>a software interrupt scheme will be required because there is no hardware to
>generate interrupts.
>
Use timer dpcs to simulate interrupts.
=====================
Mark Roddy
Windows .NET/XP/2000 Consulting
Hollis Technology Solutions 603-321-1032
www.hollistech.com
- Next message: Gana: "Non Pnp/Legacy drivers on win2k / winXP"
- Previous message: Alexander Grigoriev: "Re: User-space buffer, what's the difference?"
- In reply to: BobF: "Re: Driver code sample for software devices?"
- Next in thread: Maxim S. Shatskih: "Re: Driver code sample for software devices?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|