Lines Matching refs:pInfo
204 SalPrinterQueueInfo* pInfo = new SalPrinterQueueInfo; in getPrinterQueueInfoOldStyle() local
205 pInfo->maPrinterName = ImplSalGetUniString( pGetInfo2->pPrinterName ); in getPrinterQueueInfoOldStyle()
206 pInfo->maDriver = ImplSalGetUniString( pGetInfo2->pDriverName ); in getPrinterQueueInfoOldStyle()
212 pInfo->maLocation = ImplSalGetUniString( pGetInfo2->pLocation ); in getPrinterQueueInfoOldStyle()
214 pInfo->maLocation = aPortName; in getPrinterQueueInfoOldStyle()
217 pInfo->maComment = ImplSalGetUniString( pGetInfo2->pComment ); in getPrinterQueueInfoOldStyle()
218 pInfo->mnStatus = ImplWinQueueStatusToSal( pGetInfo2->Status ); in getPrinterQueueInfoOldStyle()
219 pInfo->mnJobs = pGetInfo2->cJobs; in getPrinterQueueInfoOldStyle()
220 pInfo->mpSysData = new XubString( aPortName ); in getPrinterQueueInfoOldStyle()
221 pList->Add( pInfo ); in getPrinterQueueInfoOldStyle()
294 SalPrinterQueueInfo* pInfo = new SalPrinterQueueInfo; in getPrinterQueueInfoOldStyle() local
295 pInfo->maPrinterName = aName; in getPrinterQueueInfoOldStyle()
296 pInfo->maDriver = aDriver; in getPrinterQueueInfoOldStyle()
297 pInfo->maLocation = aPortName; in getPrinterQueueInfoOldStyle()
298 pInfo->mnStatus = 0; in getPrinterQueueInfoOldStyle()
299 pInfo->mnJobs = QUEUE_JOBS_DONTKNOW; in getPrinterQueueInfoOldStyle()
300 pInfo->mpSysData = new XubString( aPortName ); in getPrinterQueueInfoOldStyle()
301 pList->Add( pInfo ); in getPrinterQueueInfoOldStyle()
332 SalPrinterQueueInfo* pInfo = new SalPrinterQueueInfo; in GetPrinterQueueInfo() local
333 …pInfo->maPrinterName = UniString( reinterpret_cast< const sal_Unicode* >(pWinInfo4[i].pPrinterName… in GetPrinterQueueInfo()
334 pInfo->mnStatus = 0; in GetPrinterQueueInfo()
335 pInfo->mnJobs = 0; in GetPrinterQueueInfo()
336 pInfo->mpSysData = NULL; in GetPrinterQueueInfo()
337 pList->Add( pInfo ); in GetPrinterQueueInfo()
346 static void getPrinterQueueStateOldStyle( SalPrinterQueueInfo* pInfo ) in getPrinterQueueStateOldStyle() argument
360 if ( pInfo->maPrinterName.EqualsAscii( pGetInfo2->pPrinterName ) && in getPrinterQueueStateOldStyle()
361 ( pInfo->maDriver.Len() == 0 || in getPrinterQueueStateOldStyle()
362 pInfo->maDriver.EqualsAscii( pGetInfo2->pDriverName ) ) in getPrinterQueueStateOldStyle()
370 pInfo->maLocation = ImplSalGetUniString( pGetInfo2->pLocation ); in getPrinterQueueStateOldStyle()
372 pInfo->maLocation = aPortName; in getPrinterQueueStateOldStyle()
375 pInfo->maComment = ImplSalGetUniString( pGetInfo2->pComment ); in getPrinterQueueStateOldStyle()
376 pInfo->mnStatus = ImplWinQueueStatusToSal( pGetInfo2->Status ); in getPrinterQueueStateOldStyle()
377 pInfo->mnJobs = pGetInfo2->cJobs; in getPrinterQueueStateOldStyle()
378 if( ! pInfo->mpSysData ) in getPrinterQueueStateOldStyle()
379 pInfo->mpSysData = new XubString( aPortName ); in getPrinterQueueStateOldStyle()
391 void WinSalInstance::GetPrinterQueueState( SalPrinterQueueInfo* pInfo ) in GetPrinterQueueState() argument
395 getPrinterQueueStateOldStyle( pInfo ); in GetPrinterQueueState()
400 …LPWSTR pPrnName = reinterpret_cast<LPWSTR>(const_cast<sal_Unicode*>(pInfo->maPrinterName.GetBuffer… in GetPrinterQueueState()
411 … pInfo->maDriver = String( reinterpret_cast< const sal_Unicode* >(pWinInfo2->pDriverName) ); in GetPrinterQueueState()
417 … pInfo->maLocation = String( reinterpret_cast< const sal_Unicode* >(pWinInfo2->pLocation) ); in GetPrinterQueueState()
419 pInfo->maLocation = aPortName; in GetPrinterQueueState()
422 … pInfo->maComment = String( reinterpret_cast< const sal_Unicode* >(pWinInfo2->pComment) ); in GetPrinterQueueState()
423 pInfo->mnStatus = ImplWinQueueStatusToSal( pWinInfo2->Status ); in GetPrinterQueueState()
424 pInfo->mnJobs = pWinInfo2->cJobs; in GetPrinterQueueState()
425 if( ! pInfo->mpSysData ) in GetPrinterQueueState()
426 pInfo->mpSysData = new XubString( aPortName ); in GetPrinterQueueState()
436 void WinSalInstance::DeletePrinterQueueInfo( SalPrinterQueueInfo* pInfo ) in DeletePrinterQueueInfo() argument
438 delete (String*)(pInfo->mpSysData); in DeletePrinterQueueInfo()
439 delete pInfo; in DeletePrinterQueueInfo()
1941 static int lcl_StartDocW( HDC hDC, DOCINFOW* pInfo, WinSalPrinter* pPrt ) in lcl_StartDocW() argument
1945 nRet = ::StartDocW( hDC, pInfo ); in lcl_StartDocW()
1950 static int lcl_StartDocA( HDC hDC, DOCINFOA* pInfo, WinSalPrinter* pPrt ) in lcl_StartDocA() argument
1954 nRet = ::StartDocA( hDC, pInfo ); in lcl_StartDocA()