port_monitor.cc | 54 PortData() : job_id(0), printer_handle(NULL), file(0) { 60 if (printer_handle) { 61 ClosePrinter(printer_handle); 62 printer_handle = NULL; 70 HANDLE printer_handle; member in struct:cloud_print::__anon10035::PortData 136 bool GetJobTitle(HANDLE printer_handle, 139 DCHECK(printer_handle != NULL); 142 GetJob(printer_handle, job_id, 1, NULL, 0, &bytes_needed); 148 if (!GetJob(printer_handle, 418 if (!OpenPrinter(printer_name, &(port_data->printer_handle), NULL)) [all...] |