Searched refs:OpenPrinter (Results 1 – 10 of 10) sorted by relevance
199 if (printer.OpenPrinter(printer_info[index].pPrinterName) && in EnumeratePrinters()220 if (!printer_handle.OpenPrinter(base::UTF8ToWide(printer_name).c_str())) { in GetPrinterSemanticCapsAndDefaults()323 if (printer_handle.OpenPrinter(printer_name_wide.c_str())) { in GetPrinterCapsAndDefaults()354 if (!printer.OpenPrinter(base::UTF8ToWide(printer_name).c_str())) { in GetPrinterDriverInfo()362 return printer_handle.OpenPrinter(base::UTF8ToWide(printer_name).c_str()); in IsValidPrinter()
49 bool OpenPrinter(const wchar_t* printer) { in OpenPrinter() function52 if (::OpenPrinter(const_cast<LPTSTR>(printer), &temp_handle, NULL)) { in OpenPrinter()
399 if (!printer.OpenPrinter(printer_name.c_str())) in XpsTicketToDevMode()
248 if (!printer.OpenPrinter(info_2->pPrinterName)) in UseDefaultSettings()307 if (!printer.OpenPrinter(settings_.device_name().c_str())) in UpdatePrinterSettings()389 if (!printer.OpenPrinter(settings_.device_name().c_str())) { in InitWithSettings()
58 if (!printer.OpenPrinter(printer_name.c_str())) in ShowPrintDialog()
164 if (::OpenPrinter(L"UnitTest Printer", &printer, NULL)) { in TEST_F()
29 if (!printer.OpenPrinter(printer_name.c_str())) in CjtToDevMode()
69 if (printer_.OpenPrinter(printer_name_to_use)) { in Start()773 printer_handle.OpenPrinter(printer_name_wide.c_str()); in GetJobDetails()
413 if (!OpenPrinter(printer_name, &(port_data->printer_handle), NULL)) { in Monitor2StartDocPort()
364 if (!OpenPrinter(const_cast<LPWSTR>(driver_name.c_str()), in UninstallPrinter()