Searched refs:win32_printer_name (Results 1 – 6 of 6) sorted by relevance
/dports/x11-toolkits/gtk30/gtk+-3.24.31/gtk/ |
H A D | gtkprint-win32.c | 131 gunichar2* win32_printer_name; in gtk_print_win32_devnames_from_printer_name() local 134 win32_printer_name = g_utf8_to_utf16 (printer_name, -1, NULL, NULL, NULL); in gtk_print_win32_devnames_from_printer_name() 135 if (OpenPrinterW (win32_printer_name, &hprinter, NULL)) in gtk_print_win32_devnames_from_printer_name() 156 g_free (win32_printer_name); in gtk_print_win32_devnames_from_printer_name()
|
H A D | gtkprintoperation-win32.c | 461 wchar_t *win32_printer_name = NULL; in get_default_printer() local 466 win32_printer_name = g_malloc ((gsize) needed * sizeof (wchar_t)); in get_default_printer() 467 if (!GetDefaultPrinterW (win32_printer_name, &needed)) in get_default_printer() 469 g_free (win32_printer_name); in get_default_printer() 472 printer_name = g_utf16_to_utf8 (win32_printer_name, -1, NULL, NULL, NULL); in get_default_printer() 473 g_free (win32_printer_name); in get_default_printer()
|
/dports/x11-toolkits/gtk20/gtk+-2.24.33/gtk/ |
H A D | gtkprint-win32.c | 129 gunichar2* win32_printer_name; in gtk_print_win32_devnames_from_printer_name() local 132 win32_printer_name = g_utf8_to_utf16 (printer_name, -1, NULL, NULL, NULL); in gtk_print_win32_devnames_from_printer_name() 133 if (OpenPrinterW (win32_printer_name, &hprinter, NULL)) in gtk_print_win32_devnames_from_printer_name() 154 g_free (win32_printer_name); in gtk_print_win32_devnames_from_printer_name()
|
H A D | gtkprintoperation-win32.c | 422 wchar_t *win32_printer_name = NULL; in get_default_printer() local 427 win32_printer_name = g_malloc ((gsize) needed * sizeof (wchar_t)); in get_default_printer() 428 if (!GetDefaultPrinterW (win32_printer_name, &needed)) in get_default_printer() 430 g_free (win32_printer_name); in get_default_printer() 433 printer_name = g_utf16_to_utf8 (win32_printer_name, -1, NULL, NULL, NULL); in get_default_printer() 434 g_free (win32_printer_name); in get_default_printer()
|
/dports/x11-toolkits/gtk40/gtk-4.4.1/gtk/ |
H A D | gtkprint-win32.c | 131 gunichar2* win32_printer_name; in gtk_print_win32_devnames_from_printer_name() local 134 win32_printer_name = g_utf8_to_utf16 (printer_name, -1, NULL, NULL, NULL); in gtk_print_win32_devnames_from_printer_name() 135 if (OpenPrinterW (win32_printer_name, &hprinter, NULL)) in gtk_print_win32_devnames_from_printer_name() 156 g_free (win32_printer_name); in gtk_print_win32_devnames_from_printer_name()
|
H A D | gtkprintoperation-win32.c | 441 wchar_t *win32_printer_name = NULL; in get_default_printer() local 446 win32_printer_name = g_malloc ((gsize) needed * sizeof (wchar_t)); in get_default_printer() 447 if (!GetDefaultPrinterW (win32_printer_name, &needed)) in get_default_printer() 449 g_free (win32_printer_name); in get_default_printer() 452 printer_name = g_utf16_to_utf8 (win32_printer_name, -1, NULL, NULL, NULL); in get_default_printer() 453 g_free (win32_printer_name); in get_default_printer()
|