|
From: KJK::Hyperion <no...@li...> - 2001-11-06 18:28:12
|
At 20.20 05/11/2001 -0500, you wrote:
>Right... dos/windows/NT has always had nul, but not zero. I think our nul
>device driver should also provide the zero device.
Patch attached. One question: what's the best way to handle multiple
devices from the same driver? I used the DeviceExtension field to store an
integer from an enum{Null, Zero}, but I'm directly casting the integer to a
PVOID (I wasn't that sure about storing a pointer to a local constant),
will it work? Normally I wouldn't care, but kernel-mode kinda scares me :) |