ReactOS 0.4.16-dev-297-gc569aee
|
#include "precomp.h"
Go to the source code of this file.
Classes | |
struct | _MINIMUM_SIZE_TABLE |
Typedefs | |
typedef struct _MINIMUM_SIZE_TABLE | MINIMUM_SIZE_TABLE |
typedef struct _MINIMUM_SIZE_TABLE * | PMINIMUM_SIZE_TABLE |
Functions | |
static __inline void | _FixStringA (PBYTE String, DWORD cbString) |
static __inline void | _FixStringW (PWSTR String, DWORD cbString) |
BOOL WINAPI | IsValidDevmodeA (PDEVMODEA pDevmode, size_t DevmodeSize) |
BOOL WINAPI | IsValidDevmodeW (PDEVMODEW pDevmode, size_t DevmodeSize) |
BOOL WINAPI | IsValidDevmodeNoSizeW (PDEVMODEW pDevmode) |
void | RosConvertAnsiDevModeToUnicodeDevmode (PDEVMODEA pDevModeInput, PDEVMODEW *pDevModeOutput) |
static __inline DEVMODEA * | _ConvertToDevmodeA (const DEVMODEW *dmW) |
void | RosConvertUnicodeDevModeToAnsiDevmode (PDEVMODEW pDevModeInput, PDEVMODEA pDevModeOutput) |
VOID WINAPI | DeviceMode (PVOID param_1, PVOID param_2, PCHAR param_3, PVOID param_4) |
LONG WINAPI | ExtDeviceMode (HWND hWnd, HANDLE hInst, LPDEVMODEA pDevModeOutput, LPSTR pDeviceName, LPSTR pPort, LPDEVMODEA pDevModeInput, LPSTR pProfile, DWORD fMode) |
Variables | |
static MINIMUM_SIZE_TABLE | MinimumSizeA [] |
static MINIMUM_SIZE_TABLE | MinimumSizeW [] |
typedef struct _MINIMUM_SIZE_TABLE * PMINIMUM_SIZE_TABLE |
Definition at line 298 of file devmode.c.
Referenced by RosConvertUnicodeDevModeToAnsiDevmode().
Replace the last character by a null terminator if the given ANSI string is not null-terminated.
Definition at line 95 of file devmode.c.
Referenced by IsValidDevmodeA().
Replace the last character by a null terminator if the given Unicode string is not null-terminated.
Definition at line 116 of file devmode.c.
Referenced by IsValidDevmodeNoSizeW(), and IsValidDevmodeW().
LONG WINAPI ExtDeviceMode | ( | HWND | hWnd, |
HANDLE | hInst, | ||
LPDEVMODEA | pDevModeOutput, | ||
LPSTR | pDeviceName, | ||
LPSTR | pPort, | ||
LPDEVMODEA | pDevModeInput, | ||
LPSTR | pProfile, | ||
DWORD | fMode | ||
) |
Definition at line 134 of file devmode.c.
Referenced by START_TEST().
Definition at line 238 of file devmode.c.
Referenced by AddPrinterW(), DeviceCapabilitiesW(), DocumentPropertiesW(), QueryColorProfile(), and SetPrinterW().
Definition at line 186 of file devmode.c.
Referenced by START_TEST(), and test_IsValidDevmodeW().
Definition at line 285 of file devmode.c.
Referenced by AddPrinterA(), DeviceCapabilitiesA(), DocumentPropertiesA(), ResetPrinterA(), and SetPrinterA().
Definition at line 353 of file devmode.c.
Referenced by DocumentPropertiesA(), EnumJobsA(), EnumPrintersA(), GetJobA(), and GetPrinterA().
|
static |
Minimum required DEVMODEA structure size based on the used fields. Must be in descending order!
Definition at line 20 of file devmode.c.
Referenced by IsValidDevmodeA().
|
static |
Minimum required DEVMODEW structure size based on the used fields. Must be in descending order!
Definition at line 57 of file devmode.c.
Referenced by IsValidDevmodeNoSizeW(), and IsValidDevmodeW().