DEFINITION MODULE GPIERRORS;

(************************************************************************
  OS/2 2.x interface for GPI error codes.

  Copyright (c) 1992, 1994 by Juergen Neuhoff
*************************************************************************)

(*$XL+       Modula-2 language extensions: '_' allowed for symbol names *)

CONST (* AAB error codes for the GPI *)
  PMERR_OK                           = 0000H;
  PMERR_ALREADY_IN_AREA              = 2001H;
  PMERR_ALREADY_IN_ELEMENT           = 2002H;
  PMERR_ALREADY_IN_PATH              = 2003H;
  PMERR_ALREADY_IN_SEG               = 2004H;
  PMERR_AREA_INCOMPLETE              = 2005H;
  PMERR_BASE_ERROR                   = 2006H;
  PMERR_BITBLT_LENGTH_EXCEEDED       = 2007H;
  PMERR_BITMAP_IN_USE                = 2008H;
  PMERR_BITMAP_IS_SELECTED           = 2009H;
  PMERR_BITMAP_NOT_FOUND             = 200AH;
  PMERR_BITMAP_NOT_SELECTED          = 200BH;
  PMERR_BOUNDS_OVERFLOW              = 200CH;
  PMERR_CALLED_SEG_IS_CHAINED        = 200DH;
  PMERR_CALLED_SEG_IS_CURRENT        = 200EH;
  PMERR_CALLED_SEG_NOT_FOUND         = 200FH;
  PMERR_CANNOT_DELETE_ALL_DATA       = 2010H;
  PMERR_CANNOT_REPLACE_ELEMENT_0     = 2011H;
  PMERR_COL_TABLE_NOT_REALIZABLE     = 2012H;
  PMERR_COL_TABLE_NOT_REALIZED       = 2013H;
  PMERR_COORDINATE_OVERFLOW          = 2014H;
  PMERR_CORR_FORMAT_MISMATCH         = 2015H;
  PMERR_DATA_TOO_LONG                = 2016H;
  PMERR_DC_IS_ASSOCIATED             = 2017H;
  PMERR_DESC_STRING_TRUNCATED        = 2018H;
  PMERR_DEVICE_DRIVER_ERROR_1        = 2019H;
  PMERR_DEVICE_DRIVER_ERROR_2        = 201AH;
  PMERR_DEVICE_DRIVER_ERROR_3        = 201BH;
  PMERR_DEVICE_DRIVER_ERROR_4        = 201CH;
  PMERR_DEVICE_DRIVER_ERROR_5        = 201DH;
  PMERR_DEVICE_DRIVER_ERROR_6        = 201EH;
  PMERR_DEVICE_DRIVER_ERROR_7        = 201FH;
  PMERR_DEVICE_DRIVER_ERROR_8        = 2020H;
  PMERR_DEVICE_DRIVER_ERROR_9        = 2021H;
  PMERR_DEVICE_DRIVER_ERROR_10       = 2022H;
  PMERR_DEV_FUNC_NOT_INSTALLED       = 2023H;
  PMERR_DOSOPEN_FAILURE              = 2024H;
  PMERR_DOSREAD_FAILURE              = 2025H;
  PMERR_DRIVER_NOT_FOUND             = 2026H;
  PMERR_DUP_SEG                      = 2027H;
  PMERR_DYNAMIC_SEG_SEQ_ERROR        = 2028H;
  PMERR_DYNAMIC_SEG_ZERO_INV         = 2029H;
  PMERR_ELEMENT_INCOMPLETE           = 202AH;
  PMERR_ESC_CODE_NOT_SUPPORTED       = 202BH;
  PMERR_EXCEEDS_MAX_SEG_LENGTH       = 202CH;
  PMERR_FONT_AND_MODE_MISMATCH       = 202DH;
  PMERR_FONT_FILE_NOT_LOADED         = 202EH;
  PMERR_FONT_NOT_LOADED              = 202FH;
  PMERR_FONT_TOO_BIG                 = 2030H;
  PMERR_HARDWARE_INIT_FAILURE        = 2031H;
  PMERR_HBITMAP_BUSY                 = 2032H;
  PMERR_HDC_BUSY                     = 2033H;
  PMERR_HRGN_BUSY                    = 2034H;
  PMERR_HUGE_FONTS_NOT_SUPPORTED     = 2035H;
  PMERR_ID_HAS_NO_BITMAP             = 2036H;
  PMERR_IMAGE_INCOMPLETE             = 2037H;
  PMERR_INCOMPAT_COLOR_FORMAT        = 2038H;
  PMERR_INCOMPAT_COLOR_OPTIONS       = 2039H;
  PMERR_INCOMPATIBLE_BITMAP          = 203AH;
  PMERR_INCOMPATIBLE_METAFILE        = 203BH;
  PMERR_INCORRECT_DC_TYPE            = 203CH;
  PMERR_INSUFFICIENT_DISK_SPACE      = 203DH;
  PMERR_INSUFFICIENT_MEMORY          = 203EH;
  PMERR_INV_ANGLE_PARM               = 203FH;
  PMERR_INV_ARC_CONTROL              = 2040H;
  PMERR_INV_AREA_CONTROL             = 2041H;
  PMERR_INV_ARC_POINTS               = 2042H;
  PMERR_INV_ATTR_MODE                = 2043H;
  PMERR_INV_BACKGROUND_COL_ATTR      = 2044H;
  PMERR_INV_BACKGROUND_MIX_ATTR      = 2045H;
  PMERR_INV_BITBLT_MIX               = 2046H;
  PMERR_INV_BITBLT_STYLE             = 2047H;
  PMERR_INV_BITMAP_DIMENSION         = 2048H;
  PMERR_INV_BOX_CONTROL              = 2049H;
  PMERR_INV_BOX_ROUNDING_PARM        = 204AH;
  PMERR_INV_CHAR_ANGLE_ATTR          = 204BH;
  PMERR_INV_CHAR_DIRECTION_ATTR      = 204CH;
  PMERR_INV_CHAR_MODE_ATTR           = 204DH;
  PMERR_INV_CHAR_POS_OPTIONS         = 204EH;
  PMERR_INV_CHAR_SET_ATTR            = 204FH;
  PMERR_INV_CHAR_SHEAR_ATTR          = 2050H;
  PMERR_INV_CLIP_PATH_OPTIONS        = 2051H;
  PMERR_INV_CODEPAGE                 = 2052H;
  PMERR_INV_COLOR_ATTR               = 2053H;
  PMERR_INV_COLOR_DATA               = 2054H;
  PMERR_INV_COLOR_FORMAT             = 2055H;
  PMERR_INV_COLOR_INDEX              = 2056H;
  PMERR_INV_COLOR_OPTIONS            = 2057H;
  PMERR_INV_COLOR_START_INDEX        = 2058H;
  PMERR_INV_COORD_OFFSET             = 2059H;
  PMERR_INV_COORD_SPACE              = 205AH;
  PMERR_INV_COORDINATE               = 205BH;
  PMERR_INV_CORRELATE_DEPTH          = 205CH;
  PMERR_INV_CORRELATE_TYPE           = 205DH;
  PMERR_INV_CURSOR_BITMAP            = 205EH;
  PMERR_INV_DC_DATA                  = 205FH;
  PMERR_INV_DC_TYPE                  = 2060H;
  PMERR_INV_DEVICE_NAME              = 2061H;
  PMERR_INV_DEV_MODES_OPTIONS        = 2062H;
  PMERR_INV_DRAW_CONTROL             = 2063H;
  PMERR_INV_DRAW_VALUE               = 2064H;
  PMERR_INV_DRAWING_MODE             = 2065H;
  PMERR_INV_DRIVER_DATA              = 2066H;
  PMERR_INV_DRIVER_NAME              = 2067H;
  PMERR_INV_DRAW_BORDER_OPTION       = 2068H;
  PMERR_INV_EDIT_MODE                = 2069H;
  PMERR_INV_ELEMENT_OFFSET           = 206AH;
  PMERR_INV_ELEMENT_POINTER          = 206BH;
  PMERR_INV_END_PATH_OPTIONS         = 206CH;
  PMERR_INV_ESC_CODE                 = 206DH;
  PMERR_INV_ESCAPE_DATA              = 206EH;
  PMERR_INV_EXTENDED_LCID            = 206FH;
  PMERR_INV_FILL_PATH_OPTIONS        = 2070H;
  PMERR_INV_FIRST_CHAR               = 2071H;
  PMERR_INV_FONT_ATTRS               = 2072H;
  PMERR_INV_FONT_FILE_DATA           = 2073H;
  PMERR_INV_FOR_THIS_DC_TYPE         = 2074H;
  PMERR_INV_FORMAT_CONTROL           = 2075H;
  PMERR_INV_FORMS_CODE               = 2076H;
  PMERR_INV_FONTDEF                  = 2077H;
  PMERR_INV_GEOM_LINE_WIDTH_ATTR     = 2078H;
  PMERR_INV_GETDATA_CONTROL          = 2079H;
  PMERR_INV_GRAPHICS_FIELD           = 207AH;
  PMERR_INV_HBITMAP                  = 207BH;
  PMERR_INV_HDC                      = 207CH;
  PMERR_INV_HJOURNAL                 = 207DH;
  PMERR_INV_HMF                      = 207EH;
  PMERR_INV_HPS                      = 207FH;
  PMERR_INV_HRGN                     = 2080H;
  PMERR_INV_ID                       = 2081H;
  PMERR_INV_IMAGE_DATA_LENGTH        = 2082H;
  PMERR_INV_IMAGE_DIMENSION          = 2083H;
  PMERR_INV_IMAGE_FORMAT             = 2084H;
  PMERR_INV_IN_AREA                  = 2085H;
  PMERR_INV_IN_CALLED_SEG            = 2086H;
  PMERR_INV_IN_CURRENT_EDIT_MODE     = 2087H;
  PMERR_INV_IN_DRAW_MODE             = 2088H;
  PMERR_INV_IN_ELEMENT               = 2089H;
  PMERR_INV_IN_IMAGE                 = 208AH;
  PMERR_INV_IN_PATH                  = 208BH;
  PMERR_INV_IN_RETAIN_MODE           = 208CH;
  PMERR_INV_IN_SEG                   = 208DH;
  PMERR_INV_IN_VECTOR_SYMBOL         = 208EH;
  PMERR_INV_INFO_TABLE               = 208FH;
  PMERR_INV_JOURNAL_OPTION           = 2090H;
  PMERR_INV_KERNING_FLAGS            = 2091H;
  PMERR_INV_LENGTH_OR_COUNT          = 2092H;
  PMERR_INV_LINE_END_ATTR            = 2093H;
  PMERR_INV_LINE_JOIN_ATTR           = 2094H;
  PMERR_INV_LINE_TYPE_ATTR           = 2095H;
  PMERR_INV_LINE_WIDTH_ATTR          = 2096H;
  PMERR_INV_LOGICAL_ADDRESS          = 2097H;
  PMERR_INV_MARKER_BOX_ATTR          = 2098H;
  PMERR_INV_MARKER_SET_ATTR          = 2099H;
  PMERR_INV_MARKER_SYMBOL_ATTR       = 209AH;
  PMERR_INV_MATRIX_ELEMENT           = 209BH;
  PMERR_INV_MAX_HITS                 = 209CH;
  PMERR_INV_METAFILE                 = 209DH;
  PMERR_INV_METAFILE_LENGTH          = 209EH;
  PMERR_INV_METAFILE_OFFSET          = 209FH;
  PMERR_INV_MICROPS_DRAW_CONTROL     = 20A0H;
  PMERR_INV_MICROPS_FUNCTION         = 20A1H;
  PMERR_INV_MICROPS_ORDER            = 20A2H;
  PMERR_INV_MIX_ATTR                 = 20A3H;
  PMERR_INV_MODE_FOR_OPEN_DYN        = 20A4H;
  PMERR_INV_MODE_FOR_REOPEN_SEG      = 20A5H;
  PMERR_INV_MODIFY_PATH_MODE         = 20A6H;
  PMERR_INV_MULTIPLIER               = 20A7H;
  PMERR_INV_NESTED_FIGURES           = 20A8H;
  PMERR_INV_OR_INCOMPAT_OPTIONS      = 20A9H;
  PMERR_INV_ORDER_LENGTH             = 20AAH;
  PMERR_INV_ORDERING_PARM            = 20ABH;
  PMERR_INV_OUTSIDE_DRAW_MODE        = 20ACH;
  PMERR_INV_PAGE_VIEWPORT            = 20ADH;
  PMERR_INV_PATH_ID                  = 20AEH;
  PMERR_INV_PATH_MODE                = 20AFH;
  PMERR_INV_PATTERN_ATTR             = 20B0H;
  PMERR_INV_PATTERN_REF_PT_ATTR      = 20B1H;
  PMERR_INV_PATTERN_SET_ATTR         = 20B2H;
  PMERR_INV_PATTERN_SET_FONT         = 20B3H;
  PMERR_INV_PICK_APERTURE_OPTION     = 20B4H;
  PMERR_INV_PICK_APERTURE_POSN       = 20B5H;
  PMERR_INV_PICK_APERTURE_SIZE       = 20B6H;
  PMERR_INV_PICK_NUMBER              = 20B7H;
  PMERR_INV_PLAY_METAFILE_OPTION     = 20B8H;
  PMERR_INV_PRIMITIVE_TYPE           = 20B9H;
  PMERR_INV_PS_SIZE                  = 20BAH;
  PMERR_INV_PUTDATA_FORMAT           = 20BBH;
  PMERR_INV_QUERY_ELEMENT_NO         = 20BCH;
  PMERR_INV_RECT                     = 20BDH;
  PMERR_INV_REGION_CONTROL           = 20BEH;
  PMERR_INV_REGION_MIX_MODE          = 20BFH;
  PMERR_INV_REPLACE_MODE_FUNC        = 20C0H;
  PMERR_INV_RESERVED_FIELD           = 20C1H;
  PMERR_INV_RESET_OPTIONS            = 20C2H;
  PMERR_INV_RGBCOLOR                 = 20C3H;
  PMERR_INV_SCAN_START               = 20C4H;
  PMERR_INV_SEG_ATTR                 = 20C5H;
  PMERR_INV_SEG_ATTR_VALUE           = 20C6H;
  PMERR_INV_SEG_CH_LENGTH            = 20C7H;
  PMERR_INV_SEG_NAME                 = 20C8H;
  PMERR_INV_SEG_OFFSET               = 20C9H;
  PMERR_INV_SETID                    = 20CAH;
  PMERR_INV_SETID_TYPE               = 20CBH;
  PMERR_INV_SET_VIEWPORT_OPTION      = 20CCH;
  PMERR_INV_SHARPNESS_PARM           = 20CDH;
  PMERR_INV_SOURCE_OFFSET            = 20CEH;
  PMERR_INV_STOP_DRAW_VALUE          = 20CFH;
  PMERR_INV_TRANSFORM_TYPE           = 20D0H;
  PMERR_INV_USAGE_PARM               = 20D1H;
  PMERR_INV_VIEWING_LIMITS           = 20D2H;
  PMERR_JFILE_BUSY                   = 20D3H;
  PMERR_JNL_FUNC_DATA_TOO_LONG       = 20D4H;
  PMERR_KERNING_NOT_SUPPORTED        = 20D5H;
  PMERR_LABEL_NOT_FOUND              = 20D6H;
  PMERR_MATRIX_OVERFLOW              = 20D7H;
  PMERR_METAFILE_INTERNAL_ERROR      = 20D8H;
  PMERR_METAFILE_IN_USE              = 20D9H;
  PMERR_METAFILE_LIMIT_EXCEEDED      = 20DAH;
  PMERR_NAME_STACK_FULL              = 20DBH;
  PMERR_NOT_CREATED_BY_DEVOPENDC     = 20DCH;
  PMERR_NOT_IN_AREA                  = 20DDH;
  PMERR_NOT_IN_DRAW_MODE             = 20DEH;
  PMERR_NOT_IN_ELEMENT               = 20DFH;
  PMERR_NOT_IN_IMAGE                 = 20E0H;
  PMERR_NOT_IN_PATH                  = 20E1H;
  PMERR_NOT_IN_RETAIN_MODE           = 20E2H;
  PMERR_NOT_IN_SEG                   = 20E3H;
  PMERR_NO_BITMAP_SELECTED           = 20E4H;
  PMERR_NO_CURRENT_ELEMENT           = 20E5H;
  PMERR_NO_CURRENT_SEG               = 20E6H;
  PMERR_NO_METAFILE_RECORD_HANDLE    = 20E7H;
  PMERR_ORDER_TOO_BIG                = 20E8H;
  PMERR_OTHER_SET_ID_REFS            = 20E9H;
  PMERR_OVERRAN_SEG                  = 20EAH;
  PMERR_OWN_SET_ID_REFS              = 20EBH;
  PMERR_PATH_INCOMPLETE              = 20ECH;
  PMERR_PATH_LIMIT_EXCEEDED          = 20EDH;
  PMERR_PATH_UNKNOWN                 = 20EEH;
  PMERR_PEL_IS_CLIPPED               = 20EFH;
  PMERR_PEL_NOT_AVAILABLE            = 20F0H;
  PMERR_PRIMITIVE_STACK_EMPTY        = 20F1H;
  PMERR_PROLOG_ERROR                 = 20F2H;
  PMERR_PROLOG_SEG_ATTR_NOT_SET      = 20F3H;
  PMERR_PS_BUSY                      = 20F4H;
  PMERR_PS_IS_ASSOCIATED             = 20F5H;
  PMERR_RAM_JNL_FILE_TOO_SMALL       = 20F6H;
  PMERR_REALIZE_NOT_SUPPORTED        = 20F7H;
  PMERR_REGION_IS_CLIP_REGION        = 20F8H;
  PMERR_RESOURCE_DEPLETION           = 20F9H;
  PMERR_SEG_AND_REFSEG_ARE_SAME      = 20FAH;
  PMERR_SEG_CALL_RECURSIVE           = 20FBH;
  PMERR_SEG_CALL_STACK_EMPTY         = 20FCH;
  PMERR_SEG_CALL_STACK_FULL          = 20FDH;
  PMERR_SEG_IS_CURRENT               = 20FEH;
  PMERR_SEG_NOT_CHAINED              = 20FFH;
  PMERR_SEG_NOT_FOUND                = 2100H;
  PMERR_SEG_STORE_LIMIT_EXCEEDED     = 2101H;
  PMERR_SETID_IN_USE                 = 2102H;
  PMERR_SETID_NOT_FOUND              = 2103H;
  PMERR_STARTDOC_NOT_ISSUED          = 2104H;
  PMERR_STOP_DRAW_OCCURRED           = 2105H;
  PMERR_TOO_MANY_METAFILES_IN_USE    = 2106H;
  PMERR_TRUNCATED_ORDER              = 2107H;
  PMERR_UNCHAINED_SEG_ZERO_INV       = 2108H;
  PMERR_UNSUPPORTED_ATTR             = 2109H;
  PMERR_UNSUPPORTED_ATTR_VALUE       = 210AH;
  PMERR_ENDDOC_NOT_ISSUED            = 210BH;
  PMERR_PS_NOT_ASSOCIATED            = 210CH;
  PMERR_INV_FLOOD_FILL_OPTIONS       = 210DH;
  PMERR_INV_FACENAME                 = 210EH;
  PMERR_PALETTE_SELECTED             = 210FH;
  PMERR_NO_PALETTE_SELECTED          = 2110H;
  PMERR_INV_HPAL                     = 2111H;
  PMERR_PALETTE_BUSY                 = 2112H;
  PMERR_START_POINT_CLIPPED          = 2113H;
  PMERR_NO_FILL                      = 2114H;
  PMERR_INV_FACENAMEDESC             = 2115H;
  PMERR_INV_BITMAP_DATA              = 2116H;
  PMERR_INV_CHAR_ALIGN_ATTR          = 2117H;
  PMERR_INV_HFONT                    = 2118H;
  PMERR_HFONT_IS_SELECTED            = 2119H;
  PMERR_DRVR_NOT_SUPPORTED           = 2120H;

END GPIERRORS.
