## Presentation Device Driver Reference for OS/2

[prev][next][parent][TOC]

### PRTSETALERT Field - ulCategory

ulCategory (ULONG) Category of alert.

This can be an extended alert category or the core alert category.

Values are as follows:

Value Description

0x00000000 PRTALERT_CATEGORY_ALL - 0x00000000
Disable all alerts (core and extended) for this printer.

0x00000001 PRTALERT_CATEGORY_CORE - 0x00000001
Core alert category for alerts to enable or disable. The field ulType is the bitmask of the core alerts to disable.

0x00000002 PRTALERT_CATEGORY_ALL_CORE - 0x00000002
Disable all core alerts for this printer.

0x00000003 PRTALERT_CATEGORY_ALL_EXT - 0x00000003
Disable all extended alerts for this printer.

0x0000D000 PRTALERT_CATEGORY_EXTENDED - 0x0000D000
Beginning of the extended alert categories for enabling or disabling.

If disabling an alert, this disables a specific extended alert category and type.

Protocol converters should limit the category range to beween 0x0000D000 and 0x0000DFFF.

When enabling an alert, if the protocol converter does not support the given category, ERROR_INVALID_CATEGORY(117) should be returned.

0x0000DFFF PRTALERT_CATEGORY_EXT_MAX - 0x0000DFFF
End of the extended alert categories.