With the Windows98 DDK's EXP, Virtual Printer.I inserted code in Function
'DevExtTextOut' , make the value of 'lpStr' into file. At the End, No data in
file which lpStr's indicate. Please tell me What's going on and more hope!
The source code
DWORD WINAPI DevExtTextOut(lpdv, x, y, lpCR, lpStr, count, lpFont,
lpDrawMode, lpXform, lpWidths, lpOpaqRect, options)
LPDV lpdv;
short x;
short y;
LPRECT lpCR;
LPSTR lpStr;
int count;
LPFONTINFO lpFont;
LPDRAWMODE lpDrawMode;
LPTEXTXFORM lpXform;
LPSHORT lpWidths;
LPRECT lpOpaqRect;
WORD options;
{
LPEXTPDEV lpXPDV;
lpXPDV = ((LPEXTPDEV)lpdv->lpMd); //Get the hanle of file in lpdv
_lwrite(lpXPDV->hDIBFile, lpStr, count); //Write chars in lpStr to File
return(UniExtTextOut(lpdv, x, y, lpCR, lpStr, count, lpFont,
lpDrawMode, lpXform, lpWidths, lpOpaqRect, options));
}