Lines Matching refs:pDrivData
118 PDRIVDATA pDrivData );
129 PDRIVDATA pDrivData ) : in ImplQueueSalSysData() argument
136 if ( pDrivData ) in ImplQueueSalSysData()
138 mpDrivData = (PDRIVDATA)new PM_BYTE[pDrivData->cb]; in ImplQueueSalSysData()
139 memcpy( mpDrivData, pDrivData, pDrivData->cb ); in ImplQueueSalSysData()
405 PDRIVDATA pDrivData = (PDRIVDATA)ImplAllocPrnMemory( pSetupData->mnDriverDataLen ); in ImplPrnDrivData() local
406 memcpy( pDrivData, pSetupData->mpDriverData, pSetupData->mnDriverDataLen ); in ImplPrnDrivData()
407 return pDrivData; in ImplPrnDrivData()
412 static void ImplUpdateSetupData( const PDRIVDATA pDrivData, ImplJobSetup* pSetupData ) in ImplUpdateSetupData() argument
420 if ( !pDrivData || !pDrivData->cb ) in ImplUpdateSetupData()
431 if ( pDrivData->cb >= sizeof( pDrivData ) ) in ImplUpdateSetupData()
433 int nDeviceNameLen = strlen( pDrivData->szDeviceName ); in ImplUpdateSetupData()
434 memset( pDrivData->szDeviceName+nDeviceNameLen, in ImplUpdateSetupData()
436 sizeof( pDrivData->szDeviceName )-nDeviceNameLen ); in ImplUpdateSetupData()
441 if ( pSetupData->mnDriverDataLen != pDrivData->cb ) in ImplUpdateSetupData()
443 pSetupData->mpDriverData = (sal_uInt8*)rtl_allocateMemory( pDrivData->cb); in ImplUpdateSetupData()
446 pSetupData->mpDriverData = (sal_uInt8*)rtl_allocateMemory( pDrivData->cb); in ImplUpdateSetupData()
447 pSetupData->mnDriverDataLen = pDrivData->cb; in ImplUpdateSetupData()
448 memcpy( pSetupData->mpDriverData, pDrivData, pDrivData->cb ); in ImplUpdateSetupData()
451 if ( pDrivData ) in ImplUpdateSetupData()
452 ImplFreePrnMemory( pDrivData ); in ImplUpdateSetupData()
582 PBYTE pDrivData = (PBYTE)pCopyDrivData; in ImplGetFormAndTrayList() local
591 pDrivData ); in ImplGetFormAndTrayList()
612 pDrivData ); in ImplGetFormAndTrayList()
710 PBYTE pDrivData = (PBYTE)pCopyDrivData; in ImplGetCurrentSettings() local
720 pDrivData ); in ImplGetCurrentSettings()
740 pDrivData ); in ImplGetCurrentSettings()
1246 PDRIVDATA pDrivData = ImplPrnDrivData( pSetupData ); in Setup() local
1247 if ( !pDrivData ) in Setup()
1250 APIRET rc = DevPostDeviceModes( GetSalData()->mhAB, pDrivData, in Setup()
1257 ImplUpdateSetupData( pDrivData, pSetupData ); in Setup()
1284 ImplFreePrnMemory( pDrivData ); in Setup()
1344 PDRIVDATA pDrivData = ImplPrnDrivData( pSetupData ); in SetData() local
1346 if ( !pDrivData ) in SetData()
1357 if ( ImplSetOrientation( mhDC, pDrivData, pSetupData->meOrientation ) ) in SetData()
1423 if ( ImplSetPaperSize( mhDC, pDrivData, nOS2PaperFormat ) ) in SetData()
1431 if ( ImplSetPaperBin( mhDC, pDrivData, in SetData()
1438 ImplUpdateSetupData( pDrivData, pSetupData ); in SetData()