bitmap printer driver.

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi all,

I am writing bitmap printer driver in which i want output of print
command to bmp file.

after a searching and reading previous post for this i found that
oemuni\interface.cpp
IOemUni::ImageProcessing() is idle place to get bmp file. Am i correct?

i tried very simple thing is to create one file using
CreateFile/WriteFile/CloseHandle() api's but when i tried to build this
i get following errors..

oemuni\kmode\intrface.obj : error LNK2019: unresolved external symbol
__imp__CloseHandle@4 referenced in function "public: virtual long
__stdcall IOemUni::ImageProcessing(struct _DEVOBJ *,unsigned char
*,struct tagBITMAPINFOHEADER *,unsigned char *,unsigned long,struct
IPPARAMS *,unsigned char * *)"
(?ImageProcessing@IOemUni@@UAGJPAU_DEVOBJ@@PAEPAUtagBITMAPINFOHEADER@@1KPAUIPPARAMS@@PAPAE@Z)

NOTE: i am running winxp checked build environment.
similarly for createfile/writefile.

i have added following code in interface.cpp
CreateFile()
WriteFile()
Closehandle()


And also Which component i should go for usermode/kernel mode?

Please point me if i m on correct path...

Thanks in advance.

jrc

.



Relevant Pages

  • Re: bitmap printer driver.
    ... IOemUni::ImageProcessingis idle place to get bmp file. ... CreateFile/WriteFile/CloseHandle() api's but when i tried to build this ... *,struct tagBITMAPINFOHEADER *,unsigned char *,unsigned long,struct ... And also Which component i should go for usermode/kernel mode? ...
    (microsoft.public.development.device.drivers)
  • Re: bitmap printer driver.
    ... I am writing bitmap printer driver in which i want output of print ... IOemUni::ImageProcessingis idle place to get bmp file. ... CreateFile/WriteFile/CloseHandle() api's but when i tried to build this ... *,struct tagBITMAPINFOHEADER *,unsigned char *,unsigned long,struct ...
    (microsoft.public.development.device.drivers)
  • Understanding bmp image files
    ... I want to read a BMP file, do some processing and then write it in a ... For reading the file, i ... unable to convert those into the format as required by the "bmp" file. ... Any one, who is into image reading/manipulation, please help. ...
    (comp.lang.python)
  • Re: Understanding bmp image files
    ... For reading the file, i ... Here is a link to a *very* crude BMP file utility I wrote a long time ... the highlighted "module" link to see the underlying code - there are ...
    (comp.lang.python)