Hooking video driver functions / communicating between driver and user mode application
- From: "spujia" <steve_pujia@xxxxxxxxxxxxxx>
- Date: Sun, 10 Aug 2008 02:02:28 -0700
Hello,
I am using the WDK mirror driver sample as a base. The driver is attached to the desktop. My goal is to intercept basic graphics functions through the use of the mirror driver and access them in a user-mode application. Is there a way to directly hook the GDI functions that are implemented in the driver (DrvTextOut , DrvBitBlit, etc) from my user-mode application? I have seen a couple examples of other ways to communicate beween driver and user-mode apps, one that uses shared memory and one that uses io and is implemented as a simple comm driver (DriverObject->MajorFunction[IRP_MJ_DEVICE_CONTROL], etc). I tried to splice the comm driver stuff into the video driver, but was unable to do so because I could not include miniport.h and Ntddk.h in the same file. OK, I quess I have two questions....
Any help is much appreciated.
Best regards,
Steve
.
- Follow-Ups:
- Prev by Date: Re: NDIS marshalling pointers
- Next by Date: Question about video driver sample source code - mga
- Previous by thread: Windows PS printer driver
- Next by thread: Re: Hooking video driver functions / communicating between driver and user mode application
- Index(es):
Relevant Pages
|