bitmap printer driver.
- From: jrc.src@xxxxxxxxx
- Date: 28 Aug 2006 04:34:40 -0700
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
.
- Prev by Date: Re: usb device failed to start after the system resumed from hibernation
- Next by Date: Re: usb device failed to start after the system resumed from hibernation
- Previous by thread: ZwLockVirtualMemory Load-time error.
- Next by thread: Re: File System Query
- Index(es):
Relevant Pages
|