PRTALERT

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; 