Modificata la riga di chiamata a RAW.DRV.
git-svn-id: svn://10.65.10.50/trunk@2753 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
9e936aaa4b
commit
5055d0be61
@ -206,9 +206,10 @@ HDC FAR PASCAL __export GetPrinterDC(HGLOBAL hDevNames, HGLOBAL hDevMode)
|
||||
|
||||
iEsc = PASSTHROUGH;
|
||||
if (!Escape(hdc, QUERYESCSUPPORT, sizeof(int), (LPSTR)&iEsc, NULL))
|
||||
{
|
||||
{
|
||||
DeleteDC(hdc);
|
||||
hdc = CreateDC( "RAW", szDevice, szOutput, lpdm);
|
||||
// RAW.DRV can be either in current directory, WINDOWS directory or WINDOWS\SYSTEM directory
|
||||
hdc = CreateDC( "RAW", NULL, szOutput, lpdm);
|
||||
}
|
||||
|
||||
// hdc = CreateDC("RAW", NULL, szOutput, lpdm);
|
||||
|
Loading…
x
Reference in New Issue
Block a user