EngWritePrinter error: ERROR_INVALID_HANDLE

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hello,

please help me out with one problem in EngWritePrinter, when i was trying to
call this function it returns an error with error code of 6
(ERROR_INVALID_HANDLE). As DDK says i should use a DrvEnablePDEV's last
parameter (which i save in PDEV structure), but an error still remains.
i am writing to you cause noone could help me.

And one more problem in MS Word, when i open a print window (ctrl+p) and
choose my printer, it says the i don't have enough memory.

I am using WinXp sp2, and i wrote graphics dll and interface dll.
I build the driver with checked version and with free version (in DDK)

.


Quantcast