NT4/private/windows/spooler/localspl/data.c
2020-09-30 17:12:29 +02:00

75 lines
2.5 KiB
C

/*++
Copyright (c) 1990-1994 Microsoft Corporation
All rights reserved
Module Name:
data.c
Abstract:
Generates globals used for marshalling spooler data structures.
Actual definitions in spl\inc.
Author:
Environment:
User Mode -Win32
Revision History:
--*/
#include <precomp.h>
#define PRINTER_STRINGS
#define JOB_STRINGS
#define DRIVER_STRINGS
#define ADDJOB_STRINGS
#define FORM_STRINGS
#define PORT_STRINGS
#define PRINTPROCESSOR_STRINGS
#define MONITOR_STRINGS
#define DOCINFO_STRINGS
#include <stddef.h>
#include <data.h>
DWORD IniDriverOffsets[]={offsetof(INIDRIVER, pName),
offsetof(INIDRIVER, pDriverFile),
offsetof(INIDRIVER, pConfigFile),
offsetof(INIDRIVER, pDataFile),
offsetof(INIDRIVER, pHelpFile),
offsetof(INIDRIVER, pDependentFiles),
offsetof(INIDRIVER, pMonitorName),
offsetof(INIDRIVER, pDefaultDataType),
0xFFFFFFFF};
DWORD IniPrinterOffsets[]={offsetof(INIPRINTER, pName),
offsetof(INIPRINTER, pShareName),
offsetof(INIPRINTER, pDatatype),
offsetof(INIPRINTER, pParameters),
offsetof(INIPRINTER, pComment),
offsetof(INIPRINTER, pDevMode),
offsetof(INIPRINTER, pSepFile),
offsetof(INIPRINTER, pLocation),
offsetof(INIPRINTER, pSpoolDir),
offsetof(INIPRINTER, ppIniPorts),
0xFFFFFFFF};
DWORD IniSpoolerOffsets[]={offsetof(INISPOOLER, pMachineName),
offsetof(INISPOOLER, pDir),
offsetof(INISPOOLER, pDefaultSpoolDir),
offsetof(INISPOOLER, pszRegistryRoot),
offsetof(INISPOOLER, pszRegistryPrinters),
offsetof(INISPOOLER, pszRegistryMonitors),
offsetof(INISPOOLER, pszRegistryEnvironments),
offsetof(INISPOOLER, pszRegistryEventLog),
offsetof(INISPOOLER, pszRegistryProviders),
offsetof(INISPOOLER, pszEventLogMsgFile),
offsetof(INISPOOLER, pszDriversShare),
offsetof(INISPOOLER, pszRegistryForms),
0xFFFFFFFF};