Skip to content
Snippets Groups Projects
Commit 07723941 authored by Alexandre Julliard's avatar Alexandre Julliard
Browse files

Jean-Claude Batista

PrintDialog now creates a DC when receiving a PD_RETURNDC flag.
parent 0406a08c
No related branches found
No related tags found
No related merge requests found
......@@ -890,6 +890,11 @@ static BOOL PRINTDLG_ValidateAndDuplicateSettings(HWND hDlg,
}
}
/* set DC */
if (lppd->Flags & PD_RETURNDC){
lppd->hDC = CreateDCA(NULL, lpPi->pPrinterName, NULL, NULL);
}
GlobalUnlock(lppd->hDevMode);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment