Jump to content

PRTALERT

From EDM2
Revision as of 18:38, 8 February 2020 by Martini (talk | contribs) (Created page with "Information returned by the BIDI_WAIT_ALERT command. ==Example Code== <PRE> typedef struct _PRTALERT { ULONG ulpszPortName; /* Name of the port generating the aler...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Information returned by the BIDI_WAIT_ALERT command.

Example Code

typedef struct _PRTALERT {
  ULONG      ulpszPortName;   /*  Name of the port generating the alert. */
  ULONG      ulCategory;      /*  Category of alert being returned. */
  ULONG      ulType;          /*  Type of alert in a given category. */
  BYTE       interpreterID;   /*  Interpreter identifier that returns this alert. */
  BYTE       bReserved;       /*  Reserved; must be 0 (zero). */
  USHORT     usSeverity;      /*  Severity of problem. */
  ULONG      ulValue;         /*  Value associated with the alert. */
  ULONG      ulPrinterJobID;  /*  Printer job identifier if this is a print job core alert. */
  ULONG      ulpszAlertMsg;   /*  Optional alert text. */
} PRTALERT;

typedef PRTALERT *PPRTALERT;