Windows Driver Kit: Print Devices
MONITORUI
The MONITORUI structure contains pointers to the functions within a port monitor UI DLL that the print spooler calls.
typedef struct _MONITORUI {
DWORD dwMonitorUISize;
BOOL (WINAPI *pfnAddPortUI)
(PCWSTR pszServer,
HWND hWnd,
PCWSTR pszMonitorNameIn,
PWSTR *ppszPortNameOut);
BOOL (WINAPI *pfnConfigurePortUI)
(PCWSTR pName,
HWND hWnd,
PCWSTR pPortName);
BOOL (WINAPI *pfnDeletePortUI)
(PCWSTR pszServer,
HWND hWnd,
PCWSTR pszPortName);
} MONITORUI, FAR *PMONITORUI;
Members
- dwMonitorUISize
- Size, in bytes, of the MONITORUI structure.
- pfnAddPortUI
- Address of the port monitor UI DLL's AddPortUI function.
- pfnConfigurePortUI
- Address of the port monitor UI DLL's ConfigurePortUI function.
- pfnDeletePortUI
- Address of the port monitor UI DLL's DeletePortUI function.
Comments
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
Headers: Declared in Winsplp.h. Include Winsplp.h.
See Also
InitializePrintMonitorUI