MONITORINIT structure (winsplp.h)

The MONITORINIT structure is used as an input parameter to a print monitor's InitializePrintMonitor2 function.

Syntax

typedef struct _MONITORINIT {
  DWORD       cbSize;
  HANDLE      hSpooler;
  HKEYMONITOR hckRegistryRoot;
  PMONITORREG pMonitorReg;
  BOOL        bLocal;
  LPCWSTR     pszServerName;
} MONITORINIT, *PMONITORINIT;

Members

cbSize

Size, in bytes, of the MONITORINIT structure.

hSpooler

Spooler handle, for use as input to functions identified by the MONITORREG structure.

hckRegistryRoot

Registry handle, for use as input to functions identified by the MONITORREG structure.

pMonitorReg

Pointer to a MONITORREG structure.

bLocal

TRUE 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.)

pszServerName

Caller-supplied pointer to a string representing a server name.

Requirements

Requirement Value
Header winsplp.h (include Winsplp.h)

See also

InitializePrintMonitor2

MONITORREG