MONITORUI structure (winsplp.h)
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
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.
Requirements
Requirement | Value |
---|---|
Header | winsplp.h (include Winsplp.h) |