MONITORUI - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// winsplp.h

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;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-winsplp-_monitorui)

_MONITORUI structure

Description

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

Members

dwMonitorUISize

Size, in bytes, of the MONITORUI structure.

pfnAddPortUI

Pointer to the port monitor UI DLL AddPortUI function that adds a printer port, then obtains port configuration information from the user and sends it to the port monitor server DLL.

pfnConfigurePortUI

Pointer to the port monitor UI DLL ConfigurePortUI function that obtains port configuration information from the user and sends it to the port monitor server DLL.

pfnDeletePortUI

Pointer to the port monitor UI DLL DeletePortUI function that deletes a printer port.

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.

See also

InitializePrintMonitorUI