|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| No
| Win32s
| No
| Import Library
| -
| Header File
| winspool.h
| Unicode
| No
| Platform Notes
| None
|
|
|
PRINTER_NOTIFY_INFO
The PRINTER_NOTIFY_INFO structure contains printer information returned by the FindNextPrinterChangeNotification function. The function returns this information after a wait operation on a
printer change notification object has been satisfied.
typedef struct _PRINTER_NOTIFY_INFO {
DWORD Version;
DWORD Flags;
DWORD Count;
PRINTER_NOTIFY_INFO_DATA aData[1];
} PRINTER_NOTIFY_INFO;
Members
Version
Specifies the version of this structure. Set this member to 2.
Flags
Contains a bit flag to indicate the state of the notification structure. If
the PRINTER_NOTIFY_INFO_DISCARDED bit is set, it indicates that some
notifications had to be discarded.
Count
Specifies the number of PRINTER_NOTIFY_INFO_DATA elements in the aData array.
aData
An array of PRINTER_NOTIFY_INFO_DATA structures. Each element of the array identifies a single job or printer
information field, and provides the current data for that field.
Remarks
If the Flags member has the PRINTER_NOTIFY_INFO_DISCARDED bit set, this indicates that an
overflow or error occured, and notifications may have been lost. In this case,
you must call FindNextPrinterChangeNotification and specify the PRINTER_NOTIFY_OPTIONS_REFRESH flag to retrieve all current
information. Until you request this refresh operation, the system will not send
additional notifications for this change notification object.
See Also
FindNextPrinterChangeNotification, PRINTER_NOTIFY_INFO_DATA
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
More Online Helps
Win32 Programmer's Reference (win32.hlp)
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|