mirror of
https://github.com/reactos/reactos.git
synced 2025-07-04 10:21:21 +00:00
[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:
parent
2e94fb273d
commit
1f52401541
1 changed files with 1 additions and 1 deletions
|
@ -219,7 +219,7 @@ OpenPrintProcessor(PWSTR pPrinterName, PPRINTPROCESSOROPENDATA pPrintProcessorOp
|
||||||
pHandle->pwszDatatype = AllocSplStr(pPrintProcessorOpenData->pDatatype);
|
pHandle->pwszDatatype = AllocSplStr(pPrintProcessorOpenData->pDatatype);
|
||||||
pHandle->pwszDocumentName = AllocSplStr(pPrintProcessorOpenData->pDocumentName);
|
pHandle->pwszDocumentName = AllocSplStr(pPrintProcessorOpenData->pDocumentName);
|
||||||
pHandle->pwszOutputFile = AllocSplStr(pPrintProcessorOpenData->pOutputFile);
|
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.
|
// We were successful! Return the handle and don't let the cleanup routine free it.
|
||||||
dwErrorCode = ERROR_SUCCESS;
|
dwErrorCode = ERROR_SUCCESS;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue