ReactOS 0.4.16-dev-125-g798ea90
|
#include "precomp.h"
Go to the source code of this file.
Classes | |
struct | _FORM_INFO_LIST |
struct | _REGISTRYFORMINFO |
Macros | |
#define | FORMINFOSIG '.2' |
#define | FORMMAXNAMESIZE CCHDEVICENAME-1 |
Typedefs | |
typedef struct _FORM_INFO_LIST | FORM_INFO_LIST |
typedef struct _FORM_INFO_LIST * | PFORM_INFO_LIST |
typedef struct _REGISTRYFORMINFO | REGISTRYFORMINFO |
typedef struct _REGISTRYFORMINFO * | PREGISTRYFORMINFO |
typedef void(* | PLocalGetFormLevelFunc) (PFORM_INFO_LIST, PVOID, PBYTE *, PDWORD) |
Functions | |
BOOL | InitializeFormList (VOID) |
PFORM_INFO_LIST FASTCALL | FindForm (WCHAR *pFormName, WCHAR *pKeyword) |
static void | _LocalGetFormLevel1 (PFORM_INFO_LIST pfil, PFORM_INFO_1W *ppFormInfo, PBYTE *ppFormInfoEnd, PDWORD pcbNeeded) |
static void | _LocalGetFormLevel2 (PFORM_INFO_LIST pfil, PFORM_INFO_2W *ppFormInfo, PBYTE *ppFormInfoEnd, PDWORD pcbNeeded) |
BOOL WINAPI | LocalAddForm (HANDLE hPrinter, DWORD Level, PBYTE pForm) |
BOOL WINAPI | LocalDeleteForm (HANDLE hPrinter, PWSTR pFormName) |
BOOL WINAPI | LocalEnumForms (HANDLE hPrinter, DWORD Level, PBYTE pForm, DWORD cbBuf, PDWORD pcbNeeded, PDWORD pcReturned) |
BOOL WINAPI | LocalGetForm (HANDLE hPrinter, PWSTR pFormName, DWORD Level, PBYTE pForm, DWORD cbBuf, PDWORD pcbNeeded) |
BOOL WINAPI | LocalSetForm (HANDLE hPrinter, PWSTR pFormName, DWORD Level, PBYTE pForm) |
Variables | |
LIST_ENTRY | FormList |
static DWORD | _dwLastForm |
static DWORD | dwFormInfo1Offsets [] |
static DWORD | dwFormInfo2Offsets [] |
WCHAR | wszLetter [] = L"Letter" |
WCHAR | wszLetterSmall [] = L"Letter Small" |
WCHAR | wszTabloid [] = L"Tabloid" |
WCHAR | wszLedger [] = L"Ledger" |
WCHAR | wszLegal [] = L"Legal" |
WCHAR | wszStatement [] = L"Statement" |
WCHAR | wszExecutive [] = L"Executive" |
WCHAR | wszA3 [] = L"A3" |
WCHAR | wszA4 [] = L"A4" |
WCHAR | wszA4Small [] = L"A4 Small" |
WCHAR | wszA5 [] = L"A5" |
WCHAR | wszB4JIS [] = L"B4 (JIS)" |
WCHAR | wszB5JIS [] = L"B5 (JIS)" |
WCHAR | wszFolio [] = L"Folio" |
WCHAR | wszQuarto [] = L"Quarto" |
WCHAR | wsz10x14 [] = L"10 x 14" |
WCHAR | wsz11x17 [] = L"11 x 17" |
WCHAR | wszNote [] = L"Note" |
WCHAR | wszEnvelope9 [] = L"Envelope #9" |
WCHAR | wszEnvelope10 [] = L"Envelope #10" |
WCHAR | wszEnvelope11 [] = L"Envelope #11" |
WCHAR | wszEnvelope12 [] = L"Envelope #12" |
WCHAR | wszEnvelope14 [] = L"Envelope #14" |
WCHAR | wszCsizesheet [] = L"C size sheet" |
WCHAR | wszDsizesheet [] = L"D size sheet" |
WCHAR | wszEsizesheet [] = L"E size sheet" |
WCHAR | wszEnvelopeDL [] = L"Envelope DL" |
WCHAR | wszEnvelopeC5 [] = L"Envelope C5" |
WCHAR | wszEnvelopeC3 [] = L"Envelope C3" |
WCHAR | wszEnvelopeC4 [] = L"Envelope C4" |
WCHAR | wszEnvelopeC6 [] = L"Envelope C6" |
WCHAR | wszEnvelope65 [] = L"Envelope 65" |
WCHAR | wszEnvelopeB4 [] = L"Envelope B4" |
WCHAR | wszEnvelopeB5 [] = L"Envelope B5" |
WCHAR | wszEnvelopeB6 [] = L"Envelope B6" |
WCHAR | wszEnvelope [] = L"Envelope" |
WCHAR | wszEnvelopeMonarch [] = L"Envelope Monarch" |
WCHAR | wsz634Envelope [] = L"6 3/4 Envelope" |
WCHAR | wszUSStdFanfold [] = L"US Std Fanfold" |
WCHAR | wszGermanStdFanfold [] = L"German Std Fanfold" |
WCHAR | wszGermanLegalFanfold [] = L"German Legal Fanfold" |
WCHAR | wszB4ISO [] = L"B4 (ISO)" |
WCHAR | wszJapanesePostcard [] = L"Japanese Postcard" |
WCHAR | wsz9x11 [] = L"9 x 11" |
WCHAR | wsz10x11 [] = L"10 x 11" |
WCHAR | wsz15x11 [] = L"15 x 11" |
WCHAR | wszEnvelopeInvite [] = L"Envelope Invite" |
WCHAR | wszReserved48 [] = L"Reserved48" |
WCHAR | wszReserved49 [] = L"Reserved49" |
WCHAR | wszLetterExtra [] = L"Letter Extra" |
WCHAR | wszLegalExtra [] = L"Legal Extra" |
WCHAR | wszTabloidExtra [] = L"Tabloid Extra" |
WCHAR | wszA4Extra [] = L"A4 Extra" |
WCHAR | wszLetterTransverse [] = L"Letter Transverse" |
WCHAR | wszA4Transverse [] = L"A4 Transverse" |
WCHAR | wszLetterExtraTransverse [] = L"Letter Extra Transverse" |
WCHAR | wszSuperA [] = L"Super A" |
WCHAR | wszSuperB [] = L"Super B" |
WCHAR | wszLetterPlus [] = L"Letter Plus" |
WCHAR | wszA4Plus [] = L"A4 Plus" |
WCHAR | wszA5Transverse [] = L"A5 Transverse" |
WCHAR | wszB5JISTransverse [] = L"B5 (JIS) Transverse" |
WCHAR | wszA3Extra [] = L"A3 Extra" |
WCHAR | wszA5Extra [] = L"A5 Extra" |
WCHAR | wszB5ISOExtra [] = L"B5 (ISO) Extra" |
WCHAR | wszA0 [] = L"A0" |
WCHAR | wszA3Transverse [] = L"A3 Transverse" |
WCHAR | wszA3ExtraTransverse [] = L"A3 Extra Transverse" |
WCHAR | wszJapaneseDoublePostcard [] = L"Japanese Double Postcard" |
WCHAR | wszA1 [] = L"A1" |
WCHAR | wszJapaneseEnvelopeKaku2 [] = L"Japanese Envelope Kaku #2" |
WCHAR | wszJapaneseEnvelopeKaku3 [] = L"Japanese Envelope Kaku #3" |
WCHAR | wszJapaneseEnvelopeChou3 [] = L"Japanese Envelope Chou #3" |
WCHAR | wszJapaneseEnvelopeChou4 [] = L"Japanese Envelope Chou #4" |
WCHAR | wszLetterRotated [] = L"Letter Rotated" |
WCHAR | wszA3Rotated [] = L"A3 Rotated" |
WCHAR | wszA4Rotated [] = L"A4 Rotated" |
WCHAR | wszA5Rotated [] = L"A5 Rotated" |
WCHAR | wszB4JISRotated [] = L"B4 (JIS) Rotated" |
WCHAR | wszB5JISRotated [] = L"B5 (JIS) Rotated" |
WCHAR | wszJapanesePostcardRotated [] = L"Japanese Postcard Rotated" |
WCHAR | wszDoubleJapanPostcardRotated [] = L"Double Japan Postcard Rotated" |
WCHAR | wsA6Rotatedz [] = L"A6 Rotated" |
WCHAR | wszJapanEnvelopeKaku2Rotated [] = L"Japan Envelope Kaku #2 Rotated" |
WCHAR | wszJapanEnvelopeKaku3Rotated [] = L"Japan Envelope Kaku #3 Rotated" |
WCHAR | wszJapanEnvelopeChou3Rotated [] = L"Japan Envelope Chou #3 Rotated" |
WCHAR | wszJapanEnvelopeChou4Rotated [] = L"Japan Envelope Chou #4 Rotated" |
WCHAR | wszB6JIS [] = L"B6 (JIS)" |
WCHAR | wszB6JISRotated [] = L"B6 (JIS) Rotated" |
WCHAR | wsz12x11 [] = L"12 x 11" |
WCHAR | wszJapanEnvelopeYou4 [] = L"Japan Envelope You #4" |
WCHAR | wszJapanEnvelopeYou4Rotated [] = L"Japan Envelope You #4 Rotated" |
WCHAR | wszPRC16K [] = L"PRC 16K" |
WCHAR | wszPRC32K [] = L"PRC 32K" |
WCHAR | wszPRC32KBig [] = L"PRC 32K(Big)" |
WCHAR | wszPRCEnvelope1 [] = L"PRC Envelope #1" |
WCHAR | wszPRCEnvelope2 [] = L"PRC Envelope #2" |
WCHAR | wszPRCEnvelope3 [] = L"PRC Envelope #3" |
WCHAR | wszPRCEnvelope4 [] = L"PRC Envelope #4" |
WCHAR | wszPRCEnvelope5 [] = L"PRC Envelope #5" |
WCHAR | wszPRCEnvelope6 [] = L"PRC Envelope #6" |
WCHAR | wszPRCEnvelope7 [] = L"PRC Envelope #7" |
WCHAR | wszPRCEnvelope8 [] = L"PRC Envelope #8" |
WCHAR | wszPRCEnvelope9 [] = L"PRC Envelope #9" |
WCHAR | wszPRCEnvelope10 [] = L"PRC Envelope #10" |
WCHAR | wszPRC16KRotated [] = L"PRC 16K Rotated" |
WCHAR | wszPRC32KRotated [] = L"PRC 32K Rotated" |
WCHAR | wszPRC32KBigRotated [] = L"PRC 32K(Big) Rotated" |
WCHAR | wszPRCEnvelope1Rotated [] = L"PRC Envelope #1 Rotated" |
WCHAR | wszPRCEnvelope2Rotated [] = L"PRC Envelope #2 Rotated" |
WCHAR | wszPRCEnvelope3Rotated [] = L"PRC Envelope #3 Rotated" |
WCHAR | wszPRCEnvelope4Rotated [] = L"PRC Envelope #4 Rotated" |
WCHAR | wszPRCEnvelope5Rotated [] = L"PRC Envelope #5 Rotated" |
WCHAR | wszPRCEnvelope6Rotated [] = L"PRC Envelope #6 Rotated" |
WCHAR | wszPRCEnvelope7Rotated [] = L"PRC Envelope #7 Rotated" |
WCHAR | wszPRCEnvelope8Rotated [] = L"PRC Envelope #8 Rotated" |
WCHAR | wszPRCEnvelope9Rotated [] = L"PRC Envelope #9 Rotated" |
WCHAR | wszPRCEnvelope10Rotated [] = L"PRC Envelope #10 Rotated" |
FORM_INFO_1W | BuiltInForms [] |
HKEY | hFormCKey = NULL |
HKEY | hFormsKey = NULL |
static const PLocalGetFormLevelFunc | pfnGetFormLevels [] |
#define FORMMAXNAMESIZE CCHDEVICENAME-1 |
typedef struct _FORM_INFO_LIST FORM_INFO_LIST |
typedef struct _FORM_INFO_LIST * PFORM_INFO_LIST |
typedef void(* PLocalGetFormLevelFunc) (PFORM_INFO_LIST, PVOID, PBYTE *, PDWORD) |
typedef struct _REGISTRYFORMINFO * PREGISTRYFORMINFO |
typedef struct _REGISTRYFORMINFO REGISTRYFORMINFO |
|
static |
Definition at line 333 of file forms.c.
|
static |
Definition at line 362 of file forms.c.
PFORM_INFO_LIST FASTCALL FindForm | ( | WCHAR * | pFormName, |
WCHAR * | pKeyword | ||
) |
Definition at line 310 of file forms.c.
Referenced by LocalAddForm(), LocalDeleteForm(), LocalGetForm(), and LocalSetForm().
Definition at line 228 of file forms.c.
Referenced by _InitializeLocalSpooler().
Definition at line 409 of file forms.c.
Definition at line 499 of file forms.c.
BOOL WINAPI LocalEnumForms | ( | HANDLE | hPrinter, |
DWORD | Level, | ||
PBYTE | pForm, | ||
DWORD | cbBuf, | ||
PDWORD | pcbNeeded, | ||
PDWORD | pcReturned | ||
) |
Definition at line 549 of file forms.c.
BOOL WINAPI LocalGetForm | ( | HANDLE | hPrinter, |
PWSTR | pFormName, | ||
DWORD | Level, | ||
PBYTE | pForm, | ||
DWORD | cbBuf, | ||
PDWORD | pcbNeeded | ||
) |
Definition at line 624 of file forms.c.
Definition at line 682 of file forms.c.
|
static |
Definition at line 22 of file forms.c.
Referenced by InitializeFormList(), and LocalAddForm().
FORM_INFO_1W BuiltInForms[] |
Definition at line 160 of file forms.c.
Referenced by InitializeFormList().
|
static |
Definition at line 25 of file forms.c.
Referenced by _LocalGetFormLevel1().
|
static |
Definition at line 30 of file forms.c.
Referenced by _LocalGetFormLevel2().
LIST_ENTRY FormList |
Definition at line 21 of file forms.c.
Referenced by FindForm(), InitializeFormList(), LocalAddForm(), and LocalEnumForms().
Definition at line 224 of file forms.c.
Referenced by InitializeFormList().
Definition at line 225 of file forms.c.
Referenced by InitializeFormList(), LocalAddForm(), LocalDeleteForm(), and LocalSetForm().
|
static |
Definition at line 399 of file forms.c.
Referenced by LocalEnumForms(), and LocalGetForm().
WCHAR wszDoubleJapanPostcardRotated[] = L"Double Japan Postcard Rotated" |
WCHAR wszJapanEnvelopeChou3Rotated[] = L"Japan Envelope Chou #3 Rotated" |
WCHAR wszJapanEnvelopeChou4Rotated[] = L"Japan Envelope Chou #4 Rotated" |
WCHAR wszJapanEnvelopeKaku2Rotated[] = L"Japan Envelope Kaku #2 Rotated" |
WCHAR wszJapanEnvelopeKaku3Rotated[] = L"Japan Envelope Kaku #3 Rotated" |
WCHAR wszJapanEnvelopeYou4Rotated[] = L"Japan Envelope You #4 Rotated" |
WCHAR wszJapaneseDoublePostcard[] = L"Japanese Double Postcard" |
WCHAR wszJapaneseEnvelopeChou3[] = L"Japanese Envelope Chou #3" |
WCHAR wszJapaneseEnvelopeChou4[] = L"Japanese Envelope Chou #4" |
WCHAR wszJapaneseEnvelopeKaku2[] = L"Japanese Envelope Kaku #2" |
WCHAR wszJapaneseEnvelopeKaku3[] = L"Japanese Envelope Kaku #3" |
WCHAR wszJapanesePostcardRotated[] = L"Japanese Postcard Rotated" |
WCHAR wszLetterExtraTransverse[] = L"Letter Extra Transverse" |
WCHAR wszPRCEnvelope10Rotated[] = L"PRC Envelope #10 Rotated" |