Lines Matching refs:pWinInfo2

193 	PRINTER_INFO_2* pWinInfo2 = NULL;  in getPrinterQueueInfoOldStyle()  local
198 pWinInfo2 = (PRINTER_INFO_2*) rtl_allocateMemory( nBytes ); in getPrinterQueueInfoOldStyle()
199 …if ( EnumPrintersA( PRINTER_ENUM_LOCAL, NULL, 2, (LPBYTE)pWinInfo2, nBytes, &nBytes, &nInfoPrn2 ) ) in getPrinterQueueInfoOldStyle()
201 pGetInfo2 = pWinInfo2; in getPrinterQueueInfoOldStyle()
278 if ( pWinInfo2 ) in getPrinterQueueInfoOldStyle()
280 pGetInfo2 = pWinInfo2; in getPrinterQueueInfoOldStyle()
310 rtl_freeMemory( pWinInfo2 ); in getPrinterQueueInfoOldStyle()
350 PRINTER_INFO_2* pWinInfo2; in getPrinterQueueStateOldStyle() local
354 pWinInfo2 = (PRINTER_INFO_2*) rtl_allocateMemory( nBytes ); in getPrinterQueueStateOldStyle()
355 if ( EnumPrintersA( PRINTER_ENUM_LOCAL, NULL, 2, (LPBYTE)pWinInfo2, nBytes, &nBytes, &nInfoRet ) ) in getPrinterQueueStateOldStyle()
357 PRINTER_INFO_2* pGetInfo2 = pWinInfo2; in getPrinterQueueStateOldStyle()
387 rtl_freeMemory( pWinInfo2 ); in getPrinterQueueStateOldStyle()
407 PRINTER_INFO_2W* pWinInfo2 = (PRINTER_INFO_2W*)rtl_allocateMemory(nBytes); in GetPrinterQueueState() local
408 if( GetPrinterW( hPrinter, 2, (LPBYTE)pWinInfo2, nBytes, &nBytes ) ) in GetPrinterQueueState()
410 if( pWinInfo2->pDriverName ) in GetPrinterQueueState()
411 … pInfo->maDriver = String( reinterpret_cast< const sal_Unicode* >(pWinInfo2->pDriverName) ); in GetPrinterQueueState()
413 if ( pWinInfo2->pPortName ) in GetPrinterQueueState()
414 … aPortName = String( reinterpret_cast< const sal_Unicode* >(pWinInfo2->pPortName) ); in GetPrinterQueueState()
416 if ( pWinInfo2->pLocation && *pWinInfo2->pLocation ) in GetPrinterQueueState()
417 … pInfo->maLocation = String( reinterpret_cast< const sal_Unicode* >(pWinInfo2->pLocation) ); in GetPrinterQueueState()
421 if ( pWinInfo2->pComment ) 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()
428 rtl_freeMemory(pWinInfo2); in GetPrinterQueueState()