// winsplp.h
typedef struct _MONITORINIT {
DWORD cbSize;
HANDLE hSpooler;
HKEYMONITOR hckRegistryRoot;
PMONITORREG pMonitorReg;
BOOL bLocal;
LPCWSTR pszServerName;
} MONITORINIT, *PMONITORINIT;
View the official Windows Driver Kit DDI referenceNo description available.
The MONITORINIT structure is used as an input parameter to a print monitor's InitializePrintMonitor2 function.
cbSizeSize, in bytes, of the MONITORINIT structure.
hSpoolerSpooler handle, for use as input to functions identified by the MONITORREG structure.
hckRegistryRootRegistry handle, for use as input to functions identified by the MONITORREG structure.
pMonitorRegPointer to a MONITORREG structure.
bLocalTRUE if the monitor is being called by a local node spooler. FALSE if the monitor is being called by a cluster spooler. (Monitors can usually ignore this member.)
pszServerNameCaller-supplied pointer to a string representing a server name.