MONITORUI structure

The MONITORUI structure contains pointers to the functions within a port monitor UI DLL that the print spooler calls.

Syntax

typedef struct _MONITORUI {
  DWORD dwMonitorUISize;
  BOOL()(PCWSTR pszServer,HWND hWnd,PCWSTR pszMonitorNameIn,PWSTR *ppszPortNameOut) * pfnAddPortUI;
  BOOL( )(PCWSTR pName,HWND hWnd,PCWSTR pPortName) *pfnConfigurePortUI;
  BOOL( )(PCWSTR pszServer,HWND hWnd,PCWSTR pszPortName) *pfnDeletePortUI;
} MONITORUI, *PMONITORUI;

Members

dwMonitorUISize

Size, in bytes, of the MONITORUI structure.

pfnAddPortUI

pfnConfigurePortUI

pfnDeletePortUI

Remarks

All structure members must be initialized by the port monitor UI DLL. The structure's address is passed to the print spooler as the return value for the InitializePrintMonitorUI function.

Requirements

   
Header winsplp.h (include Winsplp.h)

See Also

InitializePrintMonitorUI