Devmode private fields size limitation.

Hi,
I needed to add some private fields to my devmode structure for my
printer driver. Is there a upper size limit on the size for my private
data in the devmode? Any help will be highly appreciated.
Thanks
Girish

Well, the dmDriverExtra field is a WORD, so I assume the largest the
driver private area could get is 64K.

ScottR

Hi,
Has anybody tried using the private area of devmode to store data
greater than 64k. Does the driver crash or what was the observed
behavior? In the DDK documentation dmDriverExtra does not specify what
the limitations are. Anybody knows if this limitation has been
documented somewhere.

Amit

-----Original Message-----
From: Scott Robins [mailto:xxxxx@usa.xerox.com]
Sent: Monday, June 30, 2003 7:11 PM
To: NT Developers Interest List
Subject: [ntdev] Re: Devmode private fields size limitation.

Well, the dmDriverExtra field is a WORD, so I assume the largest the
driver private area could get is 64K.

ScottR


You are currently subscribed to ntdev as: xxxxx@wipro.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

I don’t know of any particular limitation on the private area of the
devmode. There used to be limitations on 9x. But starting with W2K, I
don’t know of any limitation.

  • Ashwin

This posting is provided “AS IS” with no warranties, and confers no
rights.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Amit Singh Rana
Sent: Monday, June 30, 2003 11:09 PM
To: NT Developers Interest List
Cc: Ashwin Needamangala
Subject: [ntdev] Re: Devmode private fields size limitation.

Hi,
Has anybody tried using the private area of devmode to store data
greater than 64k. Does the driver crash or what was the observed
behavior? In the DDK documentation dmDriverExtra does not specify what
the limitations are. Anybody knows if this limitation has been
documented somewhere.

Amit

-----Original Message-----
From: Scott Robins [mailto:xxxxx@usa.xerox.com]
Sent: Monday, June 30, 2003 7:11 PM
To: NT Developers Interest List
Subject: [ntdev] Re: Devmode private fields size limitation.

Well, the dmDriverExtra field is a WORD, so I assume the largest the
driver private area could get is 64K.

ScottR


You are currently subscribed to ntdev as: xxxxx@wipro.com To
unsubscribe send a blank email to xxxxx@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@microsoft.com To
unsubscribe send a blank email to xxxxx@lists.osr.com