ReactOS 0.4.16-dev-297-gc569aee
|
Go to the source code of this file.
Classes | |
struct | _COMPUI_USERDATA |
Macros | |
#define | QSM_DOWNLOADINGFONTS 0x0001 |
#define | QSM_XPS_PASS 0x0002 |
Typedefs | |
typedef DWORD(WINAPI * | DEVICECAPABILITIES) (HANDLE, PWSTR, WORD, PVOID, PDEVMODEW) |
typedef LONG(WINAPI * | DEVICEPROPERTYSHEETS) (PPROPSHEETUI_INFO, LPARAM) |
typedef LONG(WINAPI * | DOCUMENTPROPERTYSHEETS) (PPROPSHEETUI_INFO, LPARAM) |
typedef LONG(WINAPI * | COMMONPROPERTYSHEETUIW) (HWND, PFNPROPSHEETUI, LPARAM, LPDWORD) |
typedef LONG(WINAPI * | QUERYCOLORPROFILE) (HANDLE, PDEVMODEW, ULONG, PVOID, ULONG *, FLONG *) |
typedef BOOL(WINAPI * | SPOOLERPRINTEREVENT) (LPWSTR, int, DWORD, LPARAM) |
typedef BOOL(WINAPI * | DEVQUERYPRINT) (HANDLE, LPDEVMODEW, DWORD *) |
typedef BOOL(WINAPI * | DEVQUERYPRINTEX) (PDEVQUERYPRINT_INFO) |
typedef LONG(WINAPI * | CONSTRUCTPRINTERFRIENDLYNAME) (PWSTR, PVOID, LPDWORD) |
typedef struct _COMPUI_USERDATA | COMPUI_USERDATA |
typedef struct _COMPUI_USERDATA * | PCOMPUI_USERDATA |
Variables | |
HINSTANCE | hinstWinSpool |
static DEVICECAPABILITIES | fpDeviceCapabilities |
static DEVICEPROPERTYSHEETS | fpDevicePropertySheets |
static DOCUMENTPROPERTYSHEETS | fpDocumentPropertySheets |
static COMMONPROPERTYSHEETUIW | fpCommonPropertySheetUIW |
static QUERYCOLORPROFILE | fpQueryColorProfile |
static SPOOLERPRINTEREVENT | fpPrinterEvent |
static DEVQUERYPRINT | fpDevQueryPrint |
static DEVQUERYPRINTEX | fpDevQueryPrintEx |
static CONSTRUCTPRINTERFRIENDLYNAME | fpConstructPrinterFriendlyName |
static const WCHAR | wszWindowsKey [] = L"Software\\Microsoft\\Windows NT\\CurrentVersion\\Windows" |
static const WCHAR | wszDeviceValue [] = L"Device" |
static const WCHAR | FILE_Port [] = {'F','I','L','E',':',0} |
#define QSM_DOWNLOADINGFONTS 0x0001 |
Definition at line 2793 of file printers.c.
#define QSM_XPS_PASS 0x0002 |
Definition at line 2808 of file printers.c.
Definition at line 26 of file printers.c.
typedef struct _COMPUI_USERDATA COMPUI_USERDATA |
Definition at line 45 of file printers.c.
Definition at line 18 of file printers.c.
typedef LONG(WINAPI * DEVICEPROPERTYSHEETS) (PPROPSHEETUI_INFO, LPARAM) |
Definition at line 21 of file printers.c.
typedef BOOL(WINAPI * DEVQUERYPRINT) (HANDLE, LPDEVMODEW, DWORD *) |
Definition at line 35 of file printers.c.
typedef BOOL(WINAPI * DEVQUERYPRINTEX) (PDEVQUERYPRINT_INFO) |
Definition at line 38 of file printers.c.
typedef LONG(WINAPI * DOCUMENTPROPERTYSHEETS) (PPROPSHEETUI_INFO, LPARAM) |
Definition at line 23 of file printers.c.
typedef struct _COMPUI_USERDATA * PCOMPUI_USERDATA |
Definition at line 29 of file printers.c.
Definition at line 32 of file printers.c.
|
static |
Definition at line 65 of file printers.c.
Referenced by StartDocPrinterW().
|
static |
Definition at line 132 of file printers.c.
Referenced by StartDocPrinterW().
Definition at line 155 of file printers.c.
Definition at line 200 of file printers.c.
Definition at line 313 of file printers.c.
LONG WINAPI CallCommonPropertySheetUI | ( | HWND | hWnd, |
PFNPROPSHEETUI | pfnPropSheetUI, | ||
LPARAM | lparam, | ||
LPDWORD | pResult | ||
) |
Definition at line 1155 of file printers.c.
Referenced by DocumentPropertiesW(), and PrinterProperties().
Definition at line 411 of file printers.c.
Referenced by AdvancedSetupDialog(), GetMonitorUI(), LocalmonClosePort(), LocalmonEndDocPort(), localui_AddPortUI(), localui_ConfigurePortUI(), localui_DeletePortUI(), pagesetup_change_printer(), pagesetup_printer_properties(), PRINTDLG_ChangePrinterA(), PRINTDLG_ChangePrinterW(), PRINTDLG_WMCommandA(), PRINTDLG_WMCommandW(), PrintDlgA(), PrintDlgExA(), PrintDlgExW(), PrintDlgW(), PrintRawJob(), START_TEST(), test_ClosePrinter(), test_DocumentProperties(), test_EnumForms(), test_GetPrinter(), test_GetPrinterData(), test_GetPrinterDataEx(), test_GetPrinterDriver(), test_OpenPrinter(), test_OpenPrinter_defaults(), test_XcvDataW_MonitorUI(), test_XcvDataW_PortIsValid(), and wmain().
LONG WINAPI CreatePrinterFriendlyName | ( | PCOMPUI_USERDATA | pcui_ud, |
LPWSTR | pszPrinterName | ||
) |
Definition at line 875 of file printers.c.
Referenced by DevicePropertySheets(), and DocumentPropertySheets().
Definition at line 4065 of file printers.c.
Referenced by QueryRemoteFonts().
Definition at line 774 of file printers.c.
Referenced by DevicePropertySheets(), and DocumentPropertySheets().
Definition at line 452 of file printers.c.
Definition at line 4075 of file printers.c.
Referenced by QueryRemoteFonts().
Definition at line 795 of file printers.c.
Referenced by DevicePropertySheets(), and DocumentPropertySheets().
DWORD WINAPI DeviceCapabilitiesA | ( | LPCSTR | pDevice, |
LPCSTR | pPort, | ||
WORD | fwCapability, | ||
LPSTR | pOutput, | ||
const DEVMODEA * | pDevMode | ||
) |
Definition at line 529 of file printers.c.
DWORD WINAPI DeviceCapabilitiesW | ( | LPCWSTR | pDevice, |
LPCWSTR | pPort, | ||
WORD | fwCapability, | ||
LPWSTR | pOutput, | ||
const DEVMODEW * | pDevMode | ||
) |
Definition at line 573 of file printers.c.
Referenced by DeviceCapabilitiesA().
LONG WINAPI DevicePropertySheets | ( | PPROPSHEETUI_INFO | pCPSUIInfo, |
LPARAM | lparam | ||
) |
Definition at line 1069 of file printers.c.
Referenced by PrinterProperties().
BOOL WINAPI DevQueryPrint | ( | HANDLE | hPrinter, |
LPDEVMODEW | pDevMode, | ||
DWORD * | pResID | ||
) |
Definition at line 614 of file printers.c.
BOOL WINAPI DevQueryPrintEx | ( | PDEVQUERYPRINT_INFO | pDQPInfo | ) |
Definition at line 636 of file printers.c.
INT WINAPI DocumentEvent | ( | HANDLE | hPrinter, |
HDC | hdc, | ||
int | iEsc, | ||
ULONG | cbIn, | ||
PVOID | pvIn, | ||
ULONG | cbOut, | ||
PVOID | pvOut | ||
) |
Definition at line 658 of file printers.c.
LONG WINAPI DocumentPropertiesA | ( | HWND | hWnd, |
HANDLE | hPrinter, | ||
LPSTR | pDeviceName, | ||
PDEVMODEA | pDevModeOutput, | ||
PDEVMODEA | pDevModeInput, | ||
DWORD | fMode | ||
) |
Definition at line 666 of file printers.c.
Referenced by PRINTDLG_ChangePrinterA(), PRINTDLG_WMCommandA(), and test_DocumentProperties().
LONG WINAPI DocumentPropertiesW | ( | HWND | hWnd, |
HANDLE | hPrinter, | ||
LPWSTR | pDeviceName, | ||
PDEVMODEW | pDevModeOutput, | ||
PDEVMODEW | pDevModeInput, | ||
DWORD | fMode | ||
) |
Definition at line 1177 of file printers.c.
Referenced by DocumentPropertiesA(), pagesetup_change_printer(), pagesetup_printer_properties(), PRINTDLG_ChangePrinterW(), and PRINTDLG_WMCommandW().
LONG WINAPI DocumentPropertySheets | ( | PPROPSHEETUI_INFO | pCPSUIInfo, |
LPARAM | lparam | ||
) |
Definition at line 919 of file printers.c.
Referenced by DocumentPropertiesW().
Definition at line 1320 of file printers.c.
Referenced by PrintRawJob(), and wmain().
Definition at line 1375 of file printers.c.
Referenced by wmain().
BOOL WINAPI EnumPrintersA | ( | DWORD | Flags, |
PSTR | Name, | ||
DWORD | Level, | ||
PBYTE | pPrinterEnum, | ||
DWORD | cbBuf, | ||
PDWORD | pcbNeeded, | ||
PDWORD | pcReturned | ||
) |
Definition at line 1415 of file printers.c.
BOOL WINAPI EnumPrintersW | ( | DWORD | Flags, |
PWSTR | Name, | ||
DWORD | Level, | ||
PBYTE | pPrinterEnum, | ||
DWORD | cbBuf, | ||
PDWORD | pcbNeeded, | ||
PDWORD | pcReturned | ||
) |
Definition at line 1876 of file printers.c.
Definition at line 3509 of file printers.c.
Referenced by StartDocDlgW().
BOOL WINAPI FlushPrinter | ( | HANDLE | hPrinter, |
PVOID | pBuf, | ||
DWORD | cbBuf, | ||
PDWORD | pcWritten, | ||
DWORD | cSleep | ||
) |
Definition at line 1917 of file printers.c.
PRINTER_INFO_9W * get_devmodeW | ( | HANDLE | hprn | ) |
Definition at line 746 of file printers.c.
Referenced by DocumentPropertySheets().
Definition at line 1925 of file printers.c.
Referenced by PRINTDLG_CreateDevNames(), PRINTDLG_SetUpPrinterListComboA(), PRINTDLG_WMInitDialog(), and START_TEST().
Definition at line 1971 of file printers.c.
Referenced by get_default_printer(), GetDefaultPrinterA(), pagesetup_set_devnames(), PRINTDLG_CreateDevNamesW(), PRINTDLG_OpenDefaultPrinter(), PRINTDLG_SetUpPrinterListComboW(), PRINTDLG_WMInitDialogW(), SetDefaultPrinterW(), and START_TEST().
BOOL WINAPI GetPrinterA | ( | HANDLE | hPrinter, |
DWORD | Level, | ||
LPBYTE | pPrinter, | ||
DWORD | cbBuf, | ||
LPDWORD | pcbNeeded | ||
) |
Definition at line 2062 of file printers.c.
Referenced by get_printer_infoA(), PRINTDLG_ChangePrinterA(), PrintDlgA(), test_GetPrinter(), and test_OpenPrinter_defaults().
BOOL WINAPI GetPrinterW | ( | HANDLE | hPrinter, |
DWORD | Level, | ||
LPBYTE | pPrinter, | ||
DWORD | cbBuf, | ||
LPDWORD | pcbNeeded | ||
) |
Definition at line 2533 of file printers.c.
Referenced by get_printer_infoW(), pagesetup_change_printer(), PRINTDLG_ChangePrinterW(), PrintDlgW(), START_TEST(), and UpdateTrayIcon().
BOOL FASTCALL IntFixUpDevModeNames | ( | PDOCUMENTPROPERTYHEADER | pdphdr | ) |
Definition at line 820 of file printers.c.
Referenced by DocumentPropertySheets().
Definition at line 488 of file printers.c.
Referenced by CreateUIUserData(), DeviceCapabilitiesW(), DevQueryPrint(), DevQueryPrintEx(), DocumentPropertySheets(), QueryColorProfile(), and SpoolerPrinterEvent().
BOOL WINAPI OpenPrinterA | ( | LPSTR | pPrinterName, |
LPHANDLE | phPrinter, | ||
LPPRINTER_DEFAULTSA | pDefault | ||
) |
Definition at line 2582 of file printers.c.
Referenced by AdvancedSetupDialog(), PRINTDLG_ChangePrinterA(), PRINTDLG_WMCommandA(), test_ClosePrinter(), test_DocumentProperties(), test_EnumForms(), test_GetPrinter(), test_GetPrinterData(), test_GetPrinterDataEx(), test_GetPrinterDriver(), test_OpenPrinter(), test_OpenPrinter_defaults(), test_XcvDataW_MonitorUI(), and test_XcvDataW_PortIsValid().
BOOL WINAPI OpenPrinterW | ( | LPWSTR | pPrinterName, |
LPHANDLE | phPrinter, | ||
LPPRINTER_DEFAULTSW | pDefault | ||
) |
Definition at line 2653 of file printers.c.
Referenced by GetMonitorUI(), LocalmonStartDocPort(), open_monitor_by_name(), pagesetup_change_printer(), pagesetup_printer_properties(), PRINTDLG_ChangePrinterW(), PRINTDLG_OpenDefaultPrinter(), PRINTDLG_WMCommandW(), PrintRawJob(), START_TEST(), and wmain().
BOOL WINAPI PlayGdiScriptOnPrinterIC | ( | _In_ HANDLE | hPrinterIC, |
_In_reads_bytes_(cIn) LPBYTE | pIn, | ||
_In_ DWORD | cIn, | ||
_Out_writes_bytes_(cOut) LPBYTE | pOut, | ||
_In_ DWORD | cOut, | ||
_In_ DWORD | ul | ||
) |
Definition at line 4084 of file printers.c.
Referenced by QueryRemoteFonts().
DWORD WINAPI PrinterMessageBoxA | ( | HANDLE | hPrinter, |
DWORD | Error, | ||
HWND | hWnd, | ||
LPSTR | pText, | ||
LPSTR | pCaption, | ||
DWORD | dwType | ||
) |
Definition at line 2721 of file printers.c.
DWORD WINAPI PrinterMessageBoxW | ( | HANDLE | hPrinter, |
DWORD | Error, | ||
HWND | hWnd, | ||
LPWSTR | pText, | ||
LPWSTR | pCaption, | ||
DWORD | dwType | ||
) |
Definition at line 2727 of file printers.c.
Referenced by _RpcPrinterMessageBox().
Definition at line 1266 of file printers.c.
BOOL WINAPI QueryColorProfile | ( | HANDLE | hPrinter, |
PDEVMODEW | pdevmode, | ||
ULONG | ulQueryMode, | ||
VOID * | pvProfileData, | ||
ULONG * | pcbProfileData, | ||
FLONG * | pflProfileData | ||
) |
Definition at line 2733 of file printers.c.
DWORD WINAPI QueryRemoteFonts | ( | HANDLE | hPrinter, |
PUNIVERSAL_FONT_ID | pufi, | ||
ULONG | NumberOfUFIs | ||
) |
Definition at line 2856 of file printers.c.
Definition at line 2811 of file printers.c.
Definition at line 2893 of file printers.c.
BOOL WINAPI ResetPrinterA | ( | HANDLE | hPrinter, |
PPRINTER_DEFAULTSA | pDefault | ||
) |
Definition at line 2925 of file printers.c.
BOOL WINAPI ResetPrinterW | ( | HANDLE | hPrinter, |
PPRINTER_DEFAULTSW | pDefault | ||
) |
Definition at line 2965 of file printers.c.
Referenced by _RpcResetPrinterEx(), and ResetPrinterA().
BOOL WINAPI SeekPrinter | ( | HANDLE | hPrinter, |
LARGE_INTEGER | liDistanceToMove, | ||
PLARGE_INTEGER | pliNewPointer, | ||
DWORD | dwMoveMethod, | ||
BOOL | bWrite | ||
) |
Definition at line 2973 of file printers.c.
Definition at line 3005 of file printers.c.
Referenced by START_TEST().
Definition at line 3039 of file printers.c.
Referenced by SetDefaultPrinterA(), and START_TEST().
Definition at line 3151 of file printers.c.
Definition at line 3325 of file printers.c.
Definition at line 3473 of file printers.c.
BOOL WINAPI SpoolerPrinterEvent | ( | LPWSTR | pPrinterName, |
INT | DriverEvent, | ||
DWORD | Flags, | ||
LPARAM | lParam | ||
) |
Definition at line 3481 of file printers.c.
Definition at line 3671 of file printers.c.
Definition at line 3582 of file printers.c.
Referenced by StartDocDlgA().
Definition at line 3723 of file printers.c.
Definition at line 3814 of file printers.c.
Definition at line 3910 of file printers.c.
Referenced by wmain().
Definition at line 3942 of file printers.c.
BOOL WINAPI XcvDataW | ( | HANDLE | hXcv, |
PCWSTR | pszDataName, | ||
PBYTE | pInputData, | ||
DWORD | cbInputData, | ||
PBYTE | pOutputData, | ||
DWORD | cbOutputData, | ||
PDWORD | pcbOutputNeeded, | ||
PDWORD | pdwStatus | ||
) |
Definition at line 3998 of file printers.c.
Referenced by _RpcXcvData(), dlg_configure_com(), dlgproc_addport(), dlgproc_lptconfig(), localui_AddPortUI(), and localui_DeletePortUI().
Definition at line 3579 of file printers.c.
Referenced by StartDocDlgW().
|
static |
Definition at line 27 of file printers.c.
Referenced by CallCommonPropertySheetUI().
|
static |
Definition at line 46 of file printers.c.
Referenced by CreatePrinterFriendlyName().
|
static |
Definition at line 19 of file printers.c.
Referenced by DeviceCapabilitiesW().
|
static |
Definition at line 22 of file printers.c.
Referenced by DevicePropertySheets().
|
static |
Definition at line 36 of file printers.c.
Referenced by DevQueryPrint().
|
static |
Definition at line 39 of file printers.c.
Referenced by DevQueryPrintEx().
|
static |
Definition at line 24 of file printers.c.
Referenced by DocumentPropertySheets().
|
static |
Definition at line 33 of file printers.c.
Referenced by SpoolerPrinterEvent().
|
static |
Definition at line 30 of file printers.c.
Referenced by QueryColorProfile().
|
extern |
Definition at line 12 of file main.c.
Referenced by DevicePropertySheets(), DllMain(), DocumentPropertySheets(), file_dlg_proc(), and StartDocDlgW().
Definition at line 62 of file printers.c.
Referenced by GetDefaultPrinterFromRegistry(), GetDefaultPrinterW(), and SetDefaultPrinterW().
And the award for the most confusingly named setting goes to "Device", for storing the default printer of the current user. Ok, I admit that this has historical reasons. It's still not straightforward in any way though!
Definition at line 61 of file printers.c.
Referenced by GetDefaultPrinterFromRegistry(), GetDefaultPrinterW(), and SetDefaultPrinterW().