Converting kernel-mode print drivers to user mode

Tech-Archive recommends: Speed Up your PC by fixing your registry



Hello all,

I've recently needed to convert a Win32 print driver from kernel mode to
user mode, and I ran into what I imagine are the same problems that
everybody else does while doing this. Frustrated by burning time on stupid
little stuff, I started keeping notes, and ended up with a pretty decent
Tech Tip on the subject.

Converting Win32 Kernel-mode Print Drivers to User Mode
http://www.unixwiz.net/techtips/win32-pdriver-ktou.html

I hope this is helpful to others in the same boat.

Steve
--
Steve Friedl / UNIX Wizard / Microsoft Security MVP / www.unixwiz.net


.



Relevant Pages

  • Re: SpinLock/Mutex : Difference ?
    ... Doing spinlocks from a user mode is UTTERLY out of the wall idea. ... and that is the separation of user and kernel mode. ... Need to have strong "communication skills" ... spinlock owner is guaranteed to never get preempted by another thread. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Unexpected Error With CE.BIB file
    ... User mode applications can't run in kernel mode, ... you're trying to load hidparse.dll into your user mode ... but hidparse is included in the image with the K flag set. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Allocating and accessing physically contiguous memory in user mode in WinCE 6.0 Beta
    ... because most embedded systems are closed systems, ... User mode drivers are exactly what we have had for all versions prior to CE ... What is new in V6.0 is Kernel mode drivers, ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Device Driver that uploads its own code?
    ... Anyway, if you need dynamically extend functionality of your application, ... but the code you pass from user mode is just unable ... to be run in kernel mode without special preprocessings. ... For example, if the driver ...
    (microsoft.public.win32.programmer.kernel)
  • Advisory: Arbitrary kernel mode memory writes in AVG
    ... Arbitrary kernel mode memory writes in AVG Antivirus ... The AVG Antivirus core kernel mode service driver provides ... data from addresses taken unchecked from the user mode application. ...
    (Bugtraq)