Searched refs:OpenPrinter (Results 1 – 8 of 8) sorted by relevance
84 if (printer.OpenPrinter(printer_info[index].pPrinterName) && in EnumeratePrinters()105 if (!printer_handle.OpenPrinter(UTF8ToWide(printer_name).c_str())) { in GetPrinterSemanticCapsAndDefaults()199 if (printer_handle.OpenPrinter(printer_name_wide.c_str())) { in GetPrinterCapsAndDefaults()239 if (!printer.OpenPrinter(UTF8ToWide(printer_name).c_str())) { in GetPrinterDriverInfo()247 return printer_handle.OpenPrinter(UTF8ToWide(printer_name).c_str()); in IsValidPrinter()
48 bool OpenPrinter(const wchar_t* printer) { in OpenPrinter() function51 if (::OpenPrinter(const_cast<LPTSTR>(printer), &temp_handle, NULL)) { in OpenPrinter()
51 if (printer_.OpenPrinter(printer_name_to_use)) { in Start()227 printer_handle.OpenPrinter(printer_name_wide.c_str()); in GetJobDetails()
52 if (!OpenPrinter(const_cast<wchar_t*>(printer_name.c_str()), &printer, NULL)) in PrintDlgExMock()
334 if (!printer.OpenPrinter(device_name_wide)) in UpdatePrinterSettings()406 if (!printer.OpenPrinter(settings_.device_name().c_str())) { in InitWithSettings()
164 if (::OpenPrinter(L"UnitTest Printer", &printer, NULL)) { in TEST_F()
418 if (!OpenPrinter(printer_name, &(port_data->printer_handle), NULL)) { in Monitor2StartDocPort()
367 if (!OpenPrinter(const_cast<LPWSTR>(driver_name.c_str()), in UninstallPrinter()