Should I increase the driver stack size?

Hi,

I am currently writing a driver that is just giving a usermode client controlled access to the LPT ports on a system. Once I have retrieved the device object pointer for the \Device\ParallelPortX that I am going to control, do I need to increase the driver stack size? My feeling says no, because I am not filtering the other device, but I have seen an example where this is done %-)

Cheers,

Oliver


May the source be with you, stranger :wink:

ICQ: #281645
URL: http://assarbad.net

If you are not attaching, you don't need to touch the StackSize

d

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Oliver Schneider
Sent: Wednesday, June 14, 2006 1:36 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Should I increase the driver stack size?

Hi,

I am currently writing a driver that is just giving a usermode client
controlled access to the LPT ports on a system. Once I have retrieved
the device object pointer for the \Device\ParallelPortX that I am going
to control, do I need to increase the driver stack size? My feeling says
no, because I am not filtering the other device, but I have seen an
example where this is done %-)

Cheers,

Oliver


May the source be with you, stranger :wink:

ICQ: #281645
URL: http://assarbad.net


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at

> If you are not attaching, you don't need to touch the StackSize
Thanks.

--

May the source be with you, stranger :wink:

ICQ: #281645
URL: http://assarbad.net

Note that most client’s print jobs end in a spooler, so, the spooler is
nearly the only user of \Device\ParallelPortX.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: “Oliver Schneider”
To: “Windows System Software Devs Interest List”
Sent: Wednesday, June 14, 2006 12:35 PM
Subject: [ntdev] Should I increase the driver stack size?

> Hi,
>
> I am currently writing a driver that is just giving a usermode client
controlled access to the LPT ports on a system. Once I have retrieved the
device object pointer for the \Device\ParallelPortX that I am going to control,
do I need to increase the driver stack size? My feeling says no, because I am
not filtering the other device, but I have seen an example where this is done
%-)
>
> Cheers,
>
> Oliver
> –
> ---------------------------------------------------
> May the source be with you, stranger :wink:
>
> ICQ: #281645
> URL: http://assarbad.net
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer