InitializeMonitorEx

BOOL InitializeMonitorEx(
    LPTSTR     pRegisterRoot,
    LPMONITOR  pMonitor
);
 

Sets up the function pointer table that registers with the spooler all the other entry points provided by the language monitor (AddPort, ClosePort, ConfigurePort, EnumPorts, OpenPort, ReadPort, StartDocPort, and WritePort).

pRegisterRoot Points to a string which is the path to a location in the registry where the language monitor can store internal information. The spooler will use this parameter value when the monitor is delete to go to the specified location in the registry and delete any information there.
pMonitor Far pointer to a MONITOR structure in which to set the function pointers.

See the definition of the MONITOR structure data structure for more information. This structure is defined in the WINSPLP.H header file supplied with the DDK.