Lines Matching refs:hPrn
564 HANDLE hPrn; in ImplTestSalJobSetup() local
568 if ( !OpenPrinterA( (LPSTR)aPrinterNameA.GetBuffer(), &hPrn, NULL ) ) in ImplTestSalJobSetup()
572 if ( !OpenPrinterW( pPrinterNameW, &hPrn, NULL ) ) in ImplTestSalJobSetup()
576 if( hPrn == HGDI_ERROR ) in ImplTestSalJobSetup()
581 nSysJobSize = DocumentPropertiesW( 0, hPrn, in ImplTestSalJobSetup()
587 nSysJobSize = DocumentPropertiesA( 0, hPrn, in ImplTestSalJobSetup()
594 ClosePrinter( hPrn ); in ImplTestSalJobSetup()
601 nRet = DocumentPropertiesW( 0, hPrn, in ImplTestSalJobSetup()
607 nRet = DocumentPropertiesA( 0, hPrn, in ImplTestSalJobSetup()
613 ClosePrinter( hPrn ); in ImplTestSalJobSetup()
623 ClosePrinter( hPrn ); in ImplTestSalJobSetup()
658 HANDLE hPrn; in ImplUpdateSalJobSetup() local
662 if ( !OpenPrinterW( pPrinterNameW, &hPrn, NULL ) ) in ImplUpdateSalJobSetup()
667 if ( !OpenPrinterA( (LPSTR)aPrinterNameA.GetBuffer(), &hPrn, NULL ) ) in ImplUpdateSalJobSetup()
671 if( hPrn == HGDI_ERROR ) in ImplUpdateSalJobSetup()
684 nSysJobSize = DocumentPropertiesW( hWnd, hPrn, in ImplUpdateSalJobSetup()
689 nSysJobSize = DocumentPropertiesA( hWnd, hPrn, in ImplUpdateSalJobSetup()
694 ClosePrinter( hPrn ); in ImplUpdateSalJobSetup()
730 nRet = DocumentPropertiesW( hWnd, hPrn, in ImplUpdateSalJobSetup()
736 nRet = DocumentPropertiesA( hWnd, hPrn, in ImplUpdateSalJobSetup()
742 ClosePrinter( hPrn ); in ImplUpdateSalJobSetup()