Click to Rate and Give Feedback
MSDN
MSDN Library
Windows Driver Kit
Print
Reference
 MONITORUI

  Switch on low bandwidth view
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


Send feedback on this topic
Built on May 20, 2009
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker