Lines Matching refs:pDJP
515 static void ImplFormatInputList( PDJP_ITEM pDJP, PQUERYTUPLE pTuple ) in ImplFormatInputList() argument
521 pDJP->cb = sizeof (DJP_ITEM); in ImplFormatInputList()
522 pDJP->ulProperty = pTuple->ulProperty; in ImplFormatInputList()
523 pDJP->lType = pTuple->lType; in ImplFormatInputList()
524 pDJP->ulNumReturned = 0; in ImplFormatInputList()
525 pDJP->ulValue = DJP_NONE; in ImplFormatInputList()
531 pDJP++; in ImplFormatInputList()
603 PDJP_ITEM pDJP = (PDJP_ITEM)pBuffer; in ImplGetFormAndTrayList() local
604 ImplFormatInputList( pDJP, pQuerySize->aTuples ); in ImplGetFormAndTrayList()
621 if ( pDJP->ulProperty == DJP_SJ_ORIENTATION ) in ImplGetFormAndTrayList()
623 if ( pDJP->ulNumReturned ) in ImplGetFormAndTrayList()
625 PDJPT_ORIENTATION pElm = DJP_ELEMENTP( *pDJP, DJPT_ORIENTATION ); in ImplGetFormAndTrayList()
632 else if ( pDJP->ulProperty == DJP_CJ_FORM ) in ImplGetFormAndTrayList()
634 if ( pDJP->ulNumReturned ) in ImplGetFormAndTrayList()
636 PDJPT_FORM pElm = DJP_ELEMENTP( *pDJP, DJPT_FORM ); in ImplGetFormAndTrayList()
638 pOs2SalInfoPrinter->mnFormCount = pDJP->ulNumReturned; in ImplGetFormAndTrayList()
640 for( int i = 0; i < pDJP->ulNumReturned; i++, pElm++ ) in ImplGetFormAndTrayList()
663 else if ( pDJP->ulProperty == DJP_CJ_TRAYNAME ) in ImplGetFormAndTrayList()
665 if ( pDJP->ulNumReturned ) in ImplGetFormAndTrayList()
667 PDJPT_TRAYNAME pElm = DJP_ELEMENTP( *pDJP, DJPT_TRAYNAME ); in ImplGetFormAndTrayList()
669 pOs2SalInfoPrinter->mnTrayCount = pDJP->ulNumReturned; in ImplGetFormAndTrayList()
671 for( int i = 0; i < pDJP->ulNumReturned; i++, pElm++ ) in ImplGetFormAndTrayList()
680 pDJP = DJP_NEXT_STRUCTP( pDJP ); in ImplGetFormAndTrayList()
732 PDJP_ITEM pDJP = (PDJP_ITEM)pBuffer; in ImplGetCurrentSettings() local
733 ImplFormatInputList( pDJP, pQuerySize->aTuples ); in ImplGetCurrentSettings()
750 if ( pDJP->ulProperty == DJP_SJ_ORIENTATION ) in ImplGetCurrentSettings()
752 if ( pDJP->ulNumReturned ) in ImplGetCurrentSettings()
754 PDJPT_ORIENTATION pElm = DJP_ELEMENTP( *pDJP, DJPT_ORIENTATION ); in ImplGetCurrentSettings()
761 else if ( pDJP->ulProperty == DJP_CJ_FORM ) in ImplGetCurrentSettings()
763 if ( pDJP->ulNumReturned ) in ImplGetCurrentSettings()
765 PDJPT_FORM pElm = DJP_ELEMENTP( *pDJP, DJPT_FORM ); in ImplGetCurrentSettings()
840 pDJP = DJP_NEXT_STRUCTP( pDJP ); in ImplGetCurrentSettings()
894 PDJP_ITEM pDJP = (PDJP_ITEM)pBuffer; in ImplSetOrientation() local
895 ImplFormatInputList( pDJP, pQuerySize->aTuples ); in ImplSetOrientation()
897 pDJP->cb = sizeof( DJP_ITEM ); in ImplSetOrientation()
898 pDJP->ulProperty = DJP_SJ_ORIENTATION; in ImplSetOrientation()
899 pDJP->lType = DJP_CURRENT; in ImplSetOrientation()
900 pDJP->ulValue = (eOrientation == ORIENTATION_PORTRAIT) in ImplSetOrientation()
951 PDJP_ITEM pDJP = (PDJP_ITEM)pBuffer; in ImplSetPaperSize() local
952 PDJP_ITEM pStartDJP = pDJP; in ImplSetPaperSize()
953 ImplFormatInputList( pDJP, pQuerySize->aTuples ); in ImplSetPaperSize()
956 pDJP->cb = sizeof( DJP_ITEM ); in ImplSetPaperSize()
957 pDJP->ulProperty = DJP_SJ_PAPERSIZE; in ImplSetPaperSize()
958 pDJP->lType = DJP_CURRENT; in ImplSetPaperSize()
959 pDJP->ulValue = nOS2PaperFormat; in ImplSetPaperSize()
1008 PDJP_ITEM pDJP = (PDJP_ITEM)pBuffer; in ImplSetPaperBin() local
1009 ImplFormatInputList( pDJP, pQuerySize->aTuples ); in ImplSetPaperBin()
1012 pDJP->cb = sizeof( DJP_ITEM ); in ImplSetPaperBin()
1013 pDJP->ulProperty = DJP_SJ_TRAYTYPE; in ImplSetPaperBin()
1014 pDJP->lType = DJP_CURRENT; in ImplSetPaperBin()
1015 pDJP->ulValue = pTrayInfo->mnId; in ImplSetPaperBin()