[WINPRINT]

Bugfix: The Printer Name with Port is given through the parameter pPrinterName, not the pPrinterName field of the pPrintProcessorOpenData structure.

svn path=/branches/colins-printing-for-freedom/; revision=68401
This commit is contained in:
Colin Finck 2015-07-15 15:53:04 +00:00
parent 2e94fb273d
commit 1f52401541

View file

@ -219,7 +219,7 @@ OpenPrintProcessor(PWSTR pPrinterName, PPRINTPROCESSOROPENDATA pPrintProcessorOp
pHandle->pwszDatatype = AllocSplStr(pPrintProcessorOpenData->pDatatype);
pHandle->pwszDocumentName = AllocSplStr(pPrintProcessorOpenData->pDocumentName);
pHandle->pwszOutputFile = AllocSplStr(pPrintProcessorOpenData->pOutputFile);
pHandle->pwszPrinterPort = AllocSplStr(pPrintProcessorOpenData->pPrinterName);
pHandle->pwszPrinterPort = AllocSplStr(pPrinterName);
// We were successful! Return the handle and don't let the cleanup routine free it.
dwErrorCode = ERROR_SUCCESS;