home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / os2 / filedlg5 / errmsg / errconst.c next >
Encoding:
C/C++ Source or Header  |  1989-11-26  |  45.7 KB  |  850 lines

  1. /****************************************************************************
  2.  * ERRCONST.C -- Error message data file                                    *
  3.  *                                                                          *
  4.  *  This file contains the string constants used in the standard system     *
  5.  *  error handler.                                                          *
  6.  *                                                                          *
  7.  *  Modifications --                                                        *
  8.  *      09-Oct-1989 : Initial version.                                      *
  9.  ****************************************************************************/
  10.  
  11.     #define INCL_WINDIALOGS
  12.     #include <os2.h>
  13.     #include "errmsg.h"
  14.     #include "errconst.h"
  15.  
  16.     #define MB_STD      (MB_OK|MB_ICONEXCLAMATION)
  17.  
  18.     ERRORMSG errorMsg[] = {
  19.         0, MB_STD, "No error.",
  20.         1, MB_STD, "Incorrect function.",
  21.         2, MB_STD, "The system cannot find the file specified.",
  22.         3, MB_STD, "The system cannot find the path specified.",
  23.         4, MB_STD, "The system cannot open the file.",
  24.         5, MB_STD, "The system will not allow access to the file specified.",
  25.         6, MB_STD, "Incorrect internal file identifier.",
  26.         7, MB_STD, "The storage control blocks were destroyed.",
  27.         8, MB_OK|MB_ICONHAND, "Not enough memory.",
  28.         9, MB_STD, "The memory control block address is invalid.",
  29.         10, MB_STD, "The environment is incorrect.",
  30.         11, MB_STD, "An attempt was made to load a program with an incorrect format.",
  31.         12, MB_STD, "The access code is invalid.",
  32.         13, MB_STD, "The data is invalid.",
  33.         14, MB_STD, "Unknown unit.",
  34.         15, MB_STD, "The system cannot find the drive specified.",
  35.         16, MB_STD, "The directory cannot be removed.",
  36.         17, MB_STD, "The system cannot move the file to a different disk drive.",
  37.         18, MB_STD, "There are no more files.",
  38.         19, MB_STD, "The diskette is write protected.",
  39.         20, MB_STD, "The system cannot find the device specified.",
  40.         21, MB_STD, "The drive is not ready.",
  41.         22, MB_STD, "The device does not recognize the command.",
  42.         23, MB_STD, "Data error (cyclic redundancy check).",
  43.         24, MB_STD, "The program issued a command but the command length is incorrect.",
  44.         25, MB_STD, "The drive cannot locate a specific area or track on the disk.",
  45.         26, MB_STD, "The disk or diskette cannot be accessed because it is not properly formatted for Microsoft Operating System/2.",
  46.         27, MB_STD, "The drive cannot find the sector requested.",
  47.         28, MB_STD, "The printer is out of paper.",
  48.         29, MB_STD, "The system cannot write to the specified device.",
  49.         30, MB_STD, "The system cannot read from the specified device.",
  50.         31, MB_STD, "A device attached to the system is not functioning.",
  51.         32, MB_STD, "The process cannot access the file because it is being used by another process.",
  52.         33, MB_STD, "The process cannot access the file because another process has locked a portion of the file.",
  53.         34, MB_STD, "The wrong diskette is in the drive.",
  54.         35, MB_STD, "Duplicate FCB found.",
  55.         36, MB_STD, "The system has detected an overflow in the sharing buffer.",
  56.  
  57.         50, MB_STD, "The network request is not supported.",
  58.         51, MB_STD, "The remote computer is not on line.",
  59.         52, MB_STD, "A duplicate name is on the network.",
  60.         53, MB_STD, "The network path was not found.",
  61.         54, MB_STD, "The network is busy.",
  62.         55, MB_STD, "The network device is no longer installed.",
  63.         56, MB_STD, "The network BIOS command limit was reached.",
  64.         57, MB_STD, "A network adapter hardware error occurred.",
  65.         58, MB_STD, "The response from the network was incorrect.",
  66.         59, MB_STD, "An unexpected network error occurred.",
  67.         60, MB_STD, "The remote adapter is incompatible.",
  68.         61, MB_STD, "Print queue full.",
  69.         62, MB_STD, "Insufficient memory for print file.",
  70.         63, MB_STD, "Print file canceled.",
  71.         64, MB_STD, "The network name was deleted.",
  72.         65, MB_STD, "Network access is denied.",
  73.         66, MB_STD, "The network device type is incorrect.",
  74.         67, MB_STD, "The network name cannot be found.",
  75.         68, MB_STD, "The network name limit was exceeded.",
  76.         69, MB_STD, "The network BIOS session limit was exceeded.",
  77.         70, MB_STD, "The remote server is paused.",
  78.         71, MB_STD, "The network request was not accepted.",
  79.         72, MB_STD, "Print or disk redirection is paused.",
  80.  
  81.         80, MB_STD, "The file already exists.",
  82.         81, MB_STD, "Duplicate FCB found.",
  83.         82, MB_STD, "The directory or file cannot be created.",
  84.         83, MB_STD, "Fail on INT 24.",
  85.         84, MB_STD, "Insufficient storage is available to process the request.",
  86.         85, MB_STD, "The network redirection already exists.",
  87.         86, MB_STD, "The network password entered is incorrect.",
  88.         87, MB_STD, "The parameter is incorrect.",
  89.         88, MB_STD, "A write operation to a network file failed. Check the network error log for more information.",
  90.         89, MB_STD, "The system cannot start another process at this time. No process slots are available.",
  91.         90, MB_STD, "Process not frozen.",
  92.         91, MB_STD, "Timer service table overflow.",
  93.         92, MB_STD, "Timer service table duplicate.",
  94.         93, MB_STD, "No items to process.",
  95.  
  96.         95, MB_STD, "System call interrupted.",
  97.  
  98.         100, MB_STD, "Too many open semaphores.",
  99.         101, MB_STD, "Exclusive semaphore already owned.",
  100.         102, MB_STD, "Cannot close set semaphore.",
  101.         103, MB_STD, "Too many requests for exclusive semaphore.",
  102.         104, MB_STD, "Operation invalid at interrupt time.",
  103.         105, MB_STD, "Semaphore owner died holding semaphore.",
  104.         106, MB_STD, "Limit on number of semaphore users exceeded.",
  105.         107, MB_STD, "Diskette must be changed.",
  106.         108, MB_STD, "The disk accessed is in use or locked by another process.",
  107.         109, MB_STD, "Broken pipe (write on pipe with no reader)",
  108.         110, MB_STD, "The system cannot open the device or file specified.",
  109.         111, MB_STD, "Output buffer too small for needs of system call.",
  110.         112, MB_STD, "There is not enough space on the disk.",
  111.         113, MB_STD, "No more search handles are available.",
  112.         114, MB_STD, "Could not use duplicate handle value.",
  113.         115, MB_STD, "Protection violation.",
  114.         116, MB_STD, "Vio/Kbd request error.",
  115.         117, MB_STD, "Invalid IOCTL category.",
  116.         118, MB_STD, "Invalid value for verify switch.",
  117.         119, MB_STD, "The system does not support the command requested.",
  118.         120, MB_STD, "The Application Program Interface (API) entered will only work in Microsoft Operating System/2 mode.",
  119.         121, MB_STD, "Timeout while waiting for a semaphore.",
  120.         122, MB_STD, "System call input buffer too small.",
  121.         123, MB_STD, "A filename or volume label contains an incorrect character.",
  122.         124, MB_STD, "Invalid request-level packet.",
  123.         125, MB_STD, "The disk has no volume label.",
  124.         126, MB_STD, "Module not found.",
  125.         127, MB_STD, "Procedure not found.",
  126.         128, MB_STD, "No child process for which to wait.",
  127.         129, MB_STD, "No child process have died.",
  128.         130, MB_STD, "Invalid handle for direct disk access.",
  129.         131, MB_STD, "Attempted to seek prior to beginning of file.",
  130.         132, MB_STD, "Cannot seek on character device.",
  131.         133, MB_STD, "A JOIN or SUBST command cannot be used for a drive that contains previously joined drives.",
  132.         134, MB_STD, "An attempt was made to use a JOIN or SUBST command on a drive that has already been joined.",
  133.         135, MB_STD, "An attempt was made to use a JOIN or SUBST command on a drive that has already been substituted.",
  134.         136, MB_STD, "The system tried to delete the JOIN of a drive that is not joined.",
  135.         137, MB_STD, "The system tried to delete the substitution of a drive that is not substituted.",
  136.         138, MB_STD, "The system tried to join a drive to a directory on a joined drive.",
  137.         139, MB_STD, "The system tried to substitute a drive to a directory on a substituted drive.",
  138.         140, MB_STD, "The system tried to join a drive to a directory on a substituted drive.",
  139.         141, MB_STD, "The system tried to SUBST a drive to a directory on a joined drive.",
  140.         142, MB_STD, "Drive is busy. The system cannot perform a JOIN or SUBST at this time.",
  141.         143, MB_STD, "The system cannot join or substitute a drive to or for a directory on the same drive.",
  142.         144, MB_STD, "The directory is not a subdirectory of the root directory.",
  143.         145, MB_STD, "Joined directory must be empty.",
  144.         146, MB_STD, "The path specified is already being used in a substitute.",
  145.         147, MB_STD, "The path specified is already being used in a join.",
  146.         148, MB_STD, "The path is being used by another process.",
  147.         149, MB_STD, "An attempt was made to join or substitute a drive for which a directory on the drive is the target of a previous substitute.",
  148.         150, MB_STD, "System trace error.",
  149.         151, MB_STD, "Error in DosMuxSemWait count field.",
  150.         152, MB_STD, "Too many DosMuxSemWait waiters.",
  151.         153, MB_STD, "Invalid list format.",
  152.         154, MB_STD, "Volume label is too long.",
  153.         155, MB_STD, "Cannot create another thread control block.",
  154.         156, MB_STD, "Signal was refused.",
  155.         157, MB_STD, "Segment is discarded.",
  156.         158, MB_STD, "Segment was not locked.",
  157.         159, MB_STD, "Bad thread ID address.",
  158.         160, MB_STD, "Bad arguments.",
  159.         161, MB_STD, "Invalid path name.",
  160.         162, MB_STD, "Signal already pending.",
  161.         163, MB_STD, "Disk medium is uncertain.",
  162.         164, MB_STD, "No more threads available.",
  163.         165, MB_STD, "Monitors not supported.",
  164.         166, MB_STD, "The network has not been installed.",
  165.         167, MB_STD, "The system cannot lock the required segment in memory.",
  166.         168, MB_STD, "The system experienced an error swapping in a segment.",
  167.         169, MB_STD, "The system cannot swap in a segment.",
  168.         170, MB_STD, "The segment is in use by another process.",
  169.  
  170.         180, MB_STD, "The DLL or EXE file contains a segment number that is not correct, or the file is unusable.",
  171.         181, MB_STD, "Invalid call gate.",
  172.         182, MB_STD, "Invalid ordinal. The program cannot run on this version of OS/2.",
  173.         183, MB_STD, "Shared segment already exists.",
  174.         184, MB_STD, "No child processes to wait for.",
  175.         185, MB_STD, "Specified no wait but live child exists.",
  176.         186, MB_STD, "Invalid flag number.",
  177.         187, MB_STD, "System semaphore not found.",
  178.         188, MB_STD, "The program does not have a correct END <label> directive.",
  179.         189, MB_STD, "The program does not contain a correct stack segment.",
  180.         190, MB_STD, "Invalid module type. A DLL file cannot be used as an application program. An application program cannot be used as a DLL.",
  181.         191, MB_STD, "Invalid EXE signature. The specified file or program is either a DOS mode program or not compatible with OS/2.",
  182.         192, MB_STD, "EXE marked invalid. LINK detected errors when this program was created.",
  183.         193, MB_STD, "Invalid EXE format. The specified file or program is either a DOS mode program or not compatible with OS/2.",
  184.         194, MB_STD, "One of the segments in the specified file contains more than 64KB of data.",
  185.         195, MB_STD, "The minimum storage allocation size of a segment is specified to be less than the size of the data segment in the file.",
  186.         196, MB_STD, "Routines that run in ring 2 to utilize I/O privileges cannot link to dynamic link libraries.",
  187.         197, MB_STD, "IOPL not enabled in CONFIG.SYS",
  188.         198, MB_STD, "A segment can only have privilege levels of 2 and 3. The segment specified has an unacceptable privilege level.",
  189.         199, MB_STD, "The program's autodata segment exceeds 64KB.",
  190.         200, MB_STD, "Ring 2 segment must be movable.",
  191.         201, MB_STD, "The relocation-chain for a segment exceeds the segment limit.",
  192.         202, MB_STD, "The system detected an infinite loop in the relocation-chain segment.",
  193.         203, MB_STD, "Environment variable not found.",
  194.         204, MB_STD, "Not current country.",
  195.         205, MB_STD, "No signal was sent.",
  196.         206, MB_STD, "The filename or extension is too long.",
  197.         207, MB_STD, "The ring 2 stack is in use.",
  198.         208, MB_STD, "The global filename characters, * or ? are entered incorrectly or too many global filename characters are specified.",
  199.         209, MB_STD, "Invalid signal number.",
  200.         210, MB_STD, "Thread 1 is inactive.",
  201.         211, MB_STD, "File system information not available at this time.",
  202.         212, MB_STD, "Locked.",
  203.         213, MB_STD, "Bad dynamic-link module.",
  204.         214, MB_STD, "Too many modules.",
  205.         215, MB_STD, "Nesting not allowed.",
  206.         216, MB_STD, "Cannot shrink ring 2 stack.",
  207.  
  208.         230, MB_STD, "The system detected an invalid pipe operation.",
  209.         231, MB_STD, "The pipe is in use by another process.",
  210.         232, MB_STD, "There is no data to be read.",
  211.         233, MB_STD, "The specified pipe was disconnected at its other end.",
  212.         234, MB_STD, "More data is available.",
  213.  
  214.         240, MB_STD, "Transmission errors caused the connection to the remote machine to be disconnected.",
  215.  
  216.         262, MB_STD, "Stack too large.",
  217.  
  218.         303, MB_STD, "Invalid process ID.",
  219.         304, MB_STD, "Invalid change in priority level.",
  220.         305, MB_STD, "Target process not a descendant.",
  221.         306, MB_STD, "Caller not the session manager.",
  222.         307, MB_STD, "Invalid priority class.",
  223.         308, MB_STD, "Invalid scope.",
  224.         309, MB_STD, "Invalid thread ID.",
  225.         310, MB_STD, "Cannot shrink suballocated segment.",
  226.         311, MB_STD, "Out of memory in suballocated segment.",
  227.         312, MB_STD, "Invalid element overlap in DosSubFree.",
  228.         313, MB_STD, "Invalid element size parameter.",
  229.         314, MB_STD, "Invalid flag parameter.",
  230.         315, MB_STD, "Invalid segment selector.",
  231.         316, MB_STD, "Message too long for buffer.",
  232.         317, MB_STD, "The message is not in the message file.",
  233.         318, MB_STD, "Unable to access message file.",
  234.         319, MB_STD, "Invalid message file format.",
  235.         320, MB_STD, "Invalid insertion variable count.",
  236.         321, MB_STD, "Unable to perform function.",
  237.         322, MB_STD, "Unable to wakeup.",
  238.         323, MB_STD, "Invalid system semaphore handle.",
  239.         324, MB_STD, "No timers available.",
  240.  
  241.         326, MB_STD, "Invalid timer handle.",
  242.         327, MB_STD, "Invalid date or time.",
  243.         328, MB_STD, "Internal system error.",
  244.         329, MB_STD, "Current queue name does not exist.",
  245.         330, MB_STD, "Queue not owned by calling process.",
  246.         331, MB_STD, "Current process owns queue.",
  247.         332, MB_STD, "Queue name already exists.",
  248.         333, MB_STD, "Queue element does not exist.",
  249.         334, MB_STD, "Insufficient queue memory.",
  250.         335, MB_STD, "Invalid queue name.",
  251.         336, MB_STD, "Invalid queue element priority value.",
  252.         337, MB_STD, "Invalid queue handle.",
  253.         338, MB_STD, "Queue link not found.",
  254.         339, MB_STD, "Queue memory error.",
  255.         340, MB_STD, "Previous element was at end of queue.",
  256.         341, MB_STD, "Caller does not have access to the queue.",
  257.         342, MB_STD, "Queue is empty.",
  258.         343, MB_STD, "Queue name does not exist.",
  259.         344, MB_STD, "Queue is not initialized.",
  260.         345, MB_STD, "Unable to access queue.",
  261.         346, MB_STD, "Unable to add new queue.",
  262.         347, MB_STD, "Unable to initialize queue.",
  263.         349, MB_STD, "Invalid VIO function mask.",
  264.         350, MB_STD, "Invalid pointer to parameter in VIO function.",
  265.         351, MB_STD, "Invalid pointer to attribute in VIO function.",
  266.         352, MB_STD, "Invalid pointer to row in VIO function.",
  267.         353, MB_STD, "Invalid pointer to column in VIO function.",
  268.         354, MB_STD, "Invalid pointer to length in VIO function.",
  269.         355, MB_STD, "Unsupported display mode.",
  270.         356, MB_STD, "Invalid cursor width value.",
  271.         357, MB_STD, "Invalid cursor attribute.",
  272.         358, MB_STD, "Invalid row.",
  273.         359, MB_STD, "Invalid column.",
  274.         360, MB_STD, "Invalid value for top row.",
  275.         361, MB_STD, "Invalid value for bottom row.",
  276.         362, MB_STD, "Invalid value for right column.",
  277.         363, MB_STD, "Invalid value for left column.",
  278.         364, MB_STD, "ERROR_SCS_CALL",
  279.         365, MB_STD, "ERROR_SCS_VALUE",
  280.         366, MB_STD, "Invalid wait flag setting.",
  281.         367, MB_STD, "Screen not previously locked.",
  282.         368, MB_STD, "ERROR_SGS_NOT_SESSION_MGR",
  283.         369, MB_STD, "Invalid screen group or session ID.",
  284.         370, MB_STD, "No sessions available or screen group not found.",
  285.         371, MB_STD, "Screen group or session not found.",
  286.         372, MB_STD, "Title cannot be changed.",
  287.         373, MB_STD, "Invalid parameter to KBD call.",
  288.         374, MB_STD, "No device.",
  289.         375, MB_STD, "Invalid I/O wait flag value.",
  290.         376, MB_STD, "Invalid length for keyboard.",
  291.         377, MB_STD, "Invalid echo mode mask.",
  292.         378, MB_STD, "Invalid input mode mask.",
  293.         379, MB_STD, "Invalid parameters to monitor call.",
  294.         380, MB_STD, "Invalid device name.",
  295.         381, MB_STD, "Invalid device handle.",
  296.         382, MB_STD, "Buffer is too small.",
  297.         383, MB_STD, "Buffer is empty.",
  298.         384, MB_STD, "Data record too large.",
  299.         385, MB_STD, "No mouse installed.",
  300.         386, MB_STD, "Mouse device closed; handle invalid.",
  301.         387, MB_STD, "Invalid parameters to MOU call.",
  302.         388, MB_STD, "Cannot reset mouse.",
  303.         389, MB_STD, "Invalid parameters for current display mode.",
  304.         390, MB_STD, "Invalid module.",
  305.         391, MB_STD, "Entry point not valid.",
  306.         392, MB_STD, "Invalid function mask.",
  307.         393, MB_STD, "No mouse data.",
  308.         394, MB_STD, "OK, mouse pointer drawn.",
  309.         395, MB_STD, "Invalid beep frequency.",
  310.         396, MB_STD, "The system cannot find COUNTRY.SYS.",
  311.         397, MB_STD, "The file COUNTRY.SYS exists but is in use by another process.",
  312.         398, MB_STD, "Country code or code page not found.",
  313.         399, MB_STD, "Buffer too small to hold NLS table so table was truncated.",
  314.         400, MB_STD, "NLS invalid type.",
  315.         401, MB_STD, "Information for a specific country was requested, but was not found in the file COUNTRY.SYS.",
  316.         402, MB_STD, "Only session manager may call function.",
  317.         403, MB_STD, "Invalid ASCIIZ string.",
  318.         404, MB_STD, "No display subsystem previously registered within current screen group.",
  319.         405, MB_STD, "Pop-up not performed.",
  320.         406, MB_STD, "Pop-up already on screen.",
  321.         407, MB_STD, "Only session manager may call function.",
  322.         408, MB_STD, "Invalid ASCIIZ string.",
  323.         409, MB_STD, "Invalid replacement mask.",
  324.         410, MB_STD, "KbdRegister not allowed.",
  325.         411, MB_STD, "No keyboard subsystem previously registered within current screen group.",
  326.         412, MB_STD, "Only session manager may call function.",
  327.         413, MB_STD, "Invalid ASCIIZ string.",
  328.         414, MB_STD, "Invalid replacment mask.",
  329.         415, MB_STD, "MouRegister not allowed.",
  330.         416, MB_STD, "No mouse subsystem previously registered within current screen group.",
  331.         417, MB_STD, "Invalid action.",
  332.         418, MB_STD, "INIT called more than once.",
  333.         419, MB_STD, "Screen group not found.",
  334.         420, MB_STD, "Caller is not shell.",
  335.         421, MB_STD, "Invalid parameters.",
  336.         422, MB_STD, "Save/restore function already owned.",
  337.         423, MB_STD, "Thread unblock by VioModeUndo or VioSavRedrawUndo.",
  338.         424, MB_STD, "Invalid function.",
  339.         425, MB_STD, "Function for Task Manager only.",
  340.         426, MB_STD, "VioRegister not allowed.",
  341.         427, MB_STD, "No VioModeWait thread exists.",
  342.         428, MB_STD, "No VioSavRedrawWait thread exists.",
  343.         429, MB_STD, "Invalid in background.",
  344.         430, MB_STD, "Illegal during popup.",
  345.         431, MB_STD, "Caller not baseshell.",
  346.         432, MB_STD, "Invalid status request.",
  347.         433, MB_STD, "Invalid wait parameter.",
  348.         434, MB_STD, "Cannot lock screen.",
  349.         435, MB_STD, "Invalid wait parameter.",
  350.         436, MB_STD, "Invalid handle.",
  351.         437, MB_STD, "Illegal during lock.",
  352.         438, MB_STD, "Invalid length.",
  353.         439, MB_STD, "Invalid Kbd handle.",
  354.         440, MB_STD, "No more Kbd handles.",
  355.         441, MB_STD, "Cannot create logical keyboard.",
  356.         442, MB_STD, "Code page load incomplete.",
  357.         443, MB_STD, "Invalid codepage ID.",
  358.         444, MB_STD, "No codepage support.",
  359.         445, MB_STD, "Kbd focus required.",
  360.         446, MB_STD, "Kbd focus already active.",
  361.         447, MB_STD, "Keyboard subsystem busy.",
  362.         448, MB_STD, "Invalid codepage.",
  363.         449, MB_STD, "Cannot get Kbd focus.",
  364.         450, MB_STD, "Session is not selectable.",
  365.         451, MB_STD, "Session not in foreground.",
  366.         452, MB_STD, "Session not parent of specified child.",
  367.         453, MB_STD, "Invalid session start mode.",
  368.         454, MB_STD, "Invalid session start option.",
  369.         455, MB_STD, "Invalid session bonding option.",
  370.         456, MB_STD, "Invalid session select option.",
  371.         457, MB_STD, "Session started in background.",
  372.         458, MB_STD, "Invalid session stop option.",
  373.         459, MB_STD, "Reserved parameters not zero.",
  374.         460, MB_STD, "Process not parent.",
  375.         461, MB_STD, "Invalid data length.",
  376.         462, MB_STD, "Parent session not bound.",
  377.         463, MB_STD, "Retry request block allocation.",
  378.         464, MB_STD, "Kbd unavailable for detached process.",
  379.         465, MB_STD, "Vio unavailable for detached process.",
  380.         466, MB_STD, "Mouse unavailable for detached process.",
  381.         467, MB_STD, "No font available to support mode.",
  382.         468, MB_STD, "User font active.",
  383.         469, MB_STD, "Invalid codepage.",
  384.         470, MB_STD, "System displays do not support codepage.",
  385.         471, MB_STD, "Current display does not support codepage.",
  386.         472, MB_STD, "Invalid code page.",
  387.         473, MB_STD, "Codepage list is too small.",
  388.         474, MB_STD, "Codepage not moved.",
  389.         475, MB_STD, "Mode switch initialization error.",
  390.         476, MB_STD, "Code page not found.",
  391.         477, MB_STD, "Unexpected slot returned.",
  392.         478, MB_STD, "Invalid trace option.",
  393.         479, MB_STD, "Internal resource error.",
  394.         480, MB_STD, "Shell initialization error.",
  395.         481, MB_STD, "No Task Manager hard errors.",
  396.         482, MB_STD, "Codepage switch incomplete.",
  397.         483, MB_STD, "Error during transparent pop-up.",
  398.         484, MB_STD, "Critical section overflow.",
  399.         485, MB_STD, "Critical section underflow.",
  400.         486, MB_STD, "Reserved parameter is not zero.",
  401.         487, MB_STD, "Invalid address.",
  402.         488, MB_STD, "Zero selectors requested.",
  403.         489, MB_STD, "Not enough selectors available.",
  404.         490, MB_STD, "Invalid selector.",
  405.         491, MB_STD, "Invalid program type.",
  406.         492, MB_STD, "Invalid program control.",
  407.         493, MB_STD, "Invalid program inheritance option.",
  408.         494, MB_STD, "Function not allowed in PM window.",
  409.         495, MB_STD, "Function not allowed in non-PM screen group.",
  410.         496, MB_STD, "Shield alreay owned.",
  411.         497, MB_STD, "No more Vio handles.",
  412.         498, MB_STD, "Vio error occurred, see error log.",
  413.         499, MB_STD, "Invalid display context.",
  414.         500, MB_STD, "No console.",
  415.         501, MB_STD, "No console.",
  416.         502, MB_STD, "Invalid Mouse handle.",
  417.         503, MB_STD, "Invalid debugging parms.",
  418.         504, MB_STD, "Function not allowed in PM window.",
  419.         505, MB_STD, "Function not allowed in non-PM screen group.",
  420.         506, MB_STD, "Invalid icon file.",
  421.  
  422.         0x1001, MB_STD, "PMERR_INVALID_HWND",
  423.         0x1002, MB_STD, "PMERR_INVALID_HMQ",
  424.         0x1003, MB_STD, "PMERR_PARAMETER_OUT_OF_RANGE",
  425.         0x1004, MB_STD, "PMERR_WINDOW_LOCK_UNDERFLOW",
  426.         0x1005, MB_STD, "PMERR_WINDOW_LOCK_OVERFLOW",
  427.         0x1006, MB_STD, "PMERR_BAD_WINDOW_LOCK_COUNT",
  428.         0x1007, MB_STD, "PMERR_WINDOW_NOT_LOCKED",
  429.         0x1008, MB_STD, "PMERR_INVALID_SELECTOR",
  430.         0x1009, MB_STD, "PMERR_CALL_FROM_WRONG_THREAD",
  431.         0x100A, MB_STD, "PMERR_RESOURCE_NOT_FOUND",
  432.         0x100B, MB_STD, "PMERR_INVALID_STRING_PARM",
  433.         0x100C, MB_STD, "PMERR_INVALID_HHEAP",
  434.         0x100D, MB_STD, "PMERR_INVALID_HEAP_POINTER",
  435.         0x100E, MB_STD, "PMERR_INVALID_HEAP_SIZE_PARM",
  436.         0x100F, MB_STD, "PMERR_INVALID_HEAP_SIZE",
  437.         0x1010, MB_STD, "PMERR_INVALID_HEAP_SIZE_WORD",
  438.         0x1011, MB_STD, "PMERR_HEAP_OUT_OF_MEMORY",
  439.         0x1012, MB_STD, "PMERR_HEAP_MAX_SIZE_REACHED",
  440.         0x1013, MB_STD, "PMERR_INVALID_HATOMTBL",
  441.         0x1014, MB_STD, "PMERR_INVALID_ATOM",
  442.         0x1015, MB_STD, "PMERR_INVALID_ATOM_NAME",
  443.         0x1016, MB_STD, "PMERR_INVALID_INTEGER_ATOM",
  444.         0x1017, MB_STD, "PMERR_ATOM_NAME_NOT_FOUND",
  445.         0x1018, MB_STD, "PMERR_QUEUE_TOO_LARGE",
  446.         0x1019, MB_STD, "PMERR_INVALID_FLAG",
  447.         0x101A, MB_STD, "PMERR_INVALID_HACCEL",
  448.         0x101B, MB_STD, "PMERR_INVALID_HPTR",
  449.         0x101C, MB_STD, "PMERR_INVALID_HENUM",
  450.         0x101D, MB_STD, "PMERR_INVALID_SRC_CODEPAGE",
  451.         0x101E, MB_STD, "PMERR_INVALID_DST_CODEPAGE",
  452.         0x101f, MB_STD, "PMERR_UNKNOWN_COMPONENT_ID",
  453.         0x1020, MB_STD, "PMERR_UNKNOWN_ERROR_CODE",
  454.         0x1021, MB_STD, "PMERR_SEVERITY_LEVELS",
  455.         0x1034, MB_STD, "PMERR_INVALID_RESOURCE_FORMAT",
  456.         0x1036, MB_STD, "PMERR_NO_MSG_QUEUE",
  457.         0x1037, MB_STD, "PMERR_WIN_DEBUGMSG",
  458.         0x1038, MB_STD, "PMERR_QUEUE_FULL",
  459.         0x1101, MB_STD, "PMERR_INVALID_PIB",
  460.         0x1102, MB_STD, "PMERR_INSUFF_SPACE_TO_ADD",
  461.         0x1103, MB_STD, "PMERR_INVALID_GROUP_HANDLE",
  462.         0x1104, MB_STD, "PMERR_DUPLICATE_TITLE",
  463.         0x1105, MB_STD, "PMERR_INVALID_TITLE",
  464.         0x1106, MB_STD, "PMERR_INVALID_TARGET_HANDLE",
  465.         0x1107, MB_STD, "PMERR_HANDLE_NOT_IN_GROUP",
  466.         0x1108, MB_STD, "PMERR_INVALID_PATH_STATEMENT",
  467.         0x1109, MB_STD, "PMERR_NO_PROGRAM_FOUND",
  468.         0x110A, MB_STD, "PMERR_INVALID_BUFFER_SIZE",
  469.         0x110B, MB_STD, "PMERR_BUFFER_TOO_SMALL",
  470.         0x110C, MB_STD, "PMERR_PL_INITIALISATION_FAIL",
  471.         0x110D, MB_STD, "PMERR_CANT_DESTROY_SYS_GROUP",
  472.         0x110E, MB_STD, "PMERR_INVALID_TYPE_CHANGE",
  473.         0x110F, MB_STD, "PMERR_INVALID_PROGRAM_HANDLE",
  474.         0x1110, MB_STD, "PMERR_NOT_CURRENT_PL_VERSION",
  475.         0x1111, MB_STD, "PMERR_INVALID_CIRCULAR_REF",
  476.         0x1112, MB_STD, "PMERR_MEMORY_ALLOCATION_ERR",
  477.         0x1113, MB_STD, "PMERR_MEMORY_DEALLOCATION_ERR",
  478.         0x1114, MB_STD, "PMERR_TASK_HEADER_TOO_BIG",
  479.         0x1200, MB_STD, "PMERR_DOS_ERROR",
  480.         0x1201, MB_STD, "PMERR_NO_SPACE",
  481.         0x1202, MB_STD, "PMERR_INVALID_SWITCH_HANDLE",
  482.         0x1203, MB_STD, "PMERR_NO_HANDLE",
  483.         0x1204, MB_STD, "PMERR_INVALID_PROCESS_ID",
  484.         0x1205, MB_STD, "PMERR_NOT_SHELL",
  485.         0x1206, MB_STD, "PMERR_INVALID_WINDOW",
  486.         0x1207, MB_STD, "PMERR_INVALID_POST_MSG",
  487.         0x1208, MB_STD, "PMERR_INVALID_PARAMETERS",
  488.         0x1209, MB_STD, "PMERR_INVALID_PROGRAM_TYPE",
  489.         0x120A, MB_STD, "PMERR_NOT_EXTENDED_FOCUS",
  490.         0x120B, MB_STD, "PMERR_INVALID_SESSION_ID",
  491.         0x120C, MB_STD, "PMERR_SMG_INVALID_ICON_FILE",
  492.         0x120D, MB_STD, "PMERR_SMG_ICON_NOT_CREATED",
  493.         0x120E, MB_STD, "PMERR_SHL_DEBUG",
  494.         0x1301, MB_STD, "PMERR_OPENING_INI_FILE",
  495.         0x1302, MB_STD, "PMERR_INI_FILE_CORRUPT",
  496.         0x1303, MB_STD, "PMERR_INVALID_PARM",
  497.         0x1304, MB_STD, "PMERR_NOT_IN_IDX",
  498.         0x1306, MB_STD, "PMERR_INI_WRITE_FAIL",
  499.         0x1307, MB_STD, "PMERR_IDX_FULL",
  500.         0x1308, MB_STD, "PMERR_INI_PROTECTED",
  501.         0x1309, MB_STD, "PMERR_MEMORY_ALLOC",
  502.         0x130A, MB_STD, "PMERR_INI_INIT_ALREADY_DONE",
  503.         0x130B, MB_STD, "PMERR_INVALID_INTEGER",
  504.         0x130C, MB_STD, "PMERR_INVALID_ASCIIZ",
  505.         0x130D, MB_STD, "PMERR_CAN_NOT_CALL_SPOOLER",
  506.         0x1401, MB_STD, "PMERR_WARNING_WINDOW_NOT_KILLED",
  507.         0x1402, MB_STD, "PMERR_ERROR_INVALID_WINDOW",
  508.         0x1403, MB_STD, "PMERR_ALREADY_INITIALIZED",
  509.         0x1405, MB_STD, "PMERR_MSG_PROG_NO_MOU",
  510.         0x1406, MB_STD, "PMERR_MSG_PROG_NON_RECOV",
  511.         0x1407, MB_STD, "PMERR_WINCONV_INVALID_PATH",
  512.         0x1408, MB_STD, "PMERR_PI_NOT_INITIALISED",
  513.         0x1409, MB_STD, "PMERR_PL_NOT_INITIALISED",
  514.         0x140A, MB_STD, "PMERR_NO_TASK_MANAGER",
  515.         0x140B, MB_STD, "PMERR_SAVE_NOT_IN_PROGRESS",
  516.         0x140C, MB_STD, "PMERR_NO_STACK_SPACE",
  517.         0x140d, MB_STD, "PMERR_INVALID_COLR_FIELD",
  518.         0x140e, MB_STD, "PMERR_INVALID_COLR_VALUE",
  519.         0x140f, MB_STD, "PMERR_COLR_WRITE",
  520.         0x1501, MB_STD, "PMERR_TARGET_FILE_EXISTS",
  521.         0x1502, MB_STD, "PMERR_SOURCE_SAME_AS_TARGET",
  522.         0x1503, MB_STD, "PMERR_SOURCE_FILE_NOT_FOUND",
  523.         0x1504, MB_STD, "PMERR_INVALID_NEW_PATH",
  524.         0x1505, MB_STD, "PMERR_TARGET_FILE_NOT_FOUND",
  525.         0x1506, MB_STD, "PMERR_INVALID_DRIVE_NUMBER",
  526.         0x1507, MB_STD, "PMERR_NAME_TOO_LONG",
  527.         0x1508, MB_STD, "PMERR_NOT_ENOUGH_ROOM_ON_DISK",
  528.         0x1509, MB_STD, "PMERR_NOT_ENOUGH_MEM",
  529.         0x150B, MB_STD, "PMERR_LOG_DRV_DOES_NOT_EXIST",
  530.         0x150C, MB_STD, "PMERR_INVALID_DRIVE",
  531.         0x150D, MB_STD, "PMERR_ACCESS_DENIED",
  532.         0x150E, MB_STD, "PMERR_NO_FIRST_SLASH",
  533.         0x150F, MB_STD, "PMERR_READ_ONLY_FILE",
  534.  
  535.         0x2001, MB_STD, "PMERR_ALREADY_IN_AREA",
  536.         0x2002, MB_STD, "PMERR_ALREADY_IN_ELEMENT",
  537.         0x2003, MB_STD, "PMERR_ALREADY_IN_PATH",
  538.         0x2004, MB_STD, "PMERR_ALREADY_IN_SEG",
  539.         0x2005, MB_STD, "PMERR_AREA_INCOMPLETE",
  540.         0x2006, MB_STD, "PMERR_BASE_ERROR",
  541.         0x2007, MB_STD, "PMERR_BITBLT_LENGTH_EXCEEDED",
  542.         0x2008, MB_STD, "PMERR_BITMAP_IN_USE",
  543.         0x2009, MB_STD, "PMERR_BITMAP_IS_SELECTED",
  544.         0x200A, MB_STD, "PMERR_BITMAP_NOT_FOUND",
  545.         0x200B, MB_STD, "PMERR_BITMAP_NOT_SELECTED",
  546.         0x200C, MB_STD, "PMERR_BOUNDS_OVERFLOW",
  547.         0x200D, MB_STD, "PMERR_CALLED_SEG_IS_CHAINED",
  548.         0x200E, MB_STD, "PMERR_CALLED_SEG_IS_CURRENT",
  549.         0x200F, MB_STD, "PMERR_CALLED_SEG_NOT_FOUND",
  550.         0x2010, MB_STD, "PMERR_CANNOT_DELETE_ALL_DATA",
  551.         0x2011, MB_STD, "PMERR_CANNOT_REPLACE_ELEMENT_0",
  552.         0x2012, MB_STD, "PMERR_COL_TABLE_NOT_REALIZABLE",
  553.         0x2013, MB_STD, "PMERR_COL_TABLE_NOT_REALIZED",
  554.         0x2014, MB_STD, "PMERR_COORDINATE_OVERFLOW",
  555.         0x2015, MB_STD, "PMERR_CORR_FORMAT_MISMATCH",
  556.         0x2016, MB_STD, "PMERR_DATA_TOO_LONG",
  557.         0x2017, MB_STD, "PMERR_DC_IS_ASSOCIATED",
  558.         0x2018, MB_STD, "PMERR_DESC_STRING_TRUNCATED",
  559.         0x2019, MB_STD, "PMERR_DEVICE_DRIVER_ERROR_1",
  560.         0x201A, MB_STD, "PMERR_DEVICE_DRIVER_ERROR_2",
  561.         0x201B, MB_STD, "PMERR_DEVICE_DRIVER_ERROR_3",
  562.         0x201C, MB_STD, "PMERR_DEVICE_DRIVER_ERROR_4",
  563.         0x201D, MB_STD, "PMERR_DEVICE_DRIVER_ERROR_5",
  564.         0x201E, MB_STD, "PMERR_DEVICE_DRIVER_ERROR_6",
  565.         0x201F, MB_STD, "PMERR_DEVICE_DRIVER_ERROR_7",
  566.         0x2020, MB_STD, "PMERR_DEVICE_DRIVER_ERROR_8",
  567.         0x2021, MB_STD, "PMERR_DEVICE_DRIVER_ERROR_9",
  568.         0x2022, MB_STD, "PMERR_DEVICE_DRIVER_ERROR_10",
  569.         0x2023, MB_STD, "PMERR_DEV_FUNC_NOT_INSTALLED",
  570.         0x2024, MB_STD, "PMERR_DOSOPEN_FAILURE",
  571.         0x2025, MB_STD, "PMERR_DOSREAD_FAILURE",
  572.         0x2026, MB_STD, "PMERR_DRIVER_NOT_FOUND",
  573.         0x2027, MB_STD, "PMERR_DUP_SEG",
  574.         0x2028, MB_STD, "PMERR_DYNAMIC_SEG_SEQ_ERROR",
  575.         0x2029, MB_STD, "PMERR_DYNAMIC_SEG_ZERO_INV",
  576.         0x202A, MB_STD, "PMERR_ELEMENT_INCOMPLETE",
  577.         0x202B, MB_STD, "PMERR_ESC_CODE_NOT_SUPPORTED",
  578.         0x202C, MB_STD, "PMERR_EXCEEDS_MAX_SEG_LENGTH",
  579.         0x202D, MB_STD, "PMERR_FONT_AND_MODE_MISMATCH",
  580.         0x202E, MB_STD, "PMERR_FONT_FILE_NOT_LOADED",
  581.         0x202F, MB_STD, "PMERR_FONT_NOT_LOADED",
  582.         0x2030, MB_STD, "PMERR_FONT_TOO_BIG",
  583.         0x2031, MB_STD, "PMERR_HARDWARE_INIT_FAILURE",
  584.         0x2032, MB_STD, "PMERR_HBITMAP_BUSY",
  585.         0x2033, MB_STD, "PMERR_HDC_BUSY",
  586.         0x2034, MB_STD, "PMERR_HRGN_BUSY",
  587.         0x2035, MB_STD, "PMERR_HUGE_FONTS_NOT_SUPPORTED",
  588.         0x2036, MB_STD, "PMERR_ID_HAS_NO_BITMAP",
  589.         0x2037, MB_STD, "PMERR_IMAGE_INCOMPLETE",
  590.         0x2038, MB_STD, "PMERR_INCOMPAT_COLOR_FORMAT",
  591.         0x2039, MB_STD, "PMERR_INCOMPAT_COLOR_OPTIONS",
  592.         0x203A, MB_STD, "PMERR_INCOMPATIBLE_BITMAP",
  593.         0x203B, MB_STD, "PMERR_INCOMPATIBLE_METAFILE",
  594.         0x203C, MB_STD, "PMERR_INCORRECT_DC_TYPE",
  595.         0x203D, MB_STD, "PMERR_INSUFFICIENT_DISK_SPACE",
  596.         0x203E, MB_STD, "PMERR_INSUFFICIENT_MEMORY",
  597.         0x203F, MB_STD, "PMERR_INV_ANGLE_PARM",
  598.         0x2040, MB_STD, "PMERR_INV_ARC_CONTROL",
  599.         0x2041, MB_STD, "PMERR_INV_AREA_CONTROL",
  600.         0x2042, MB_STD, "PMERR_INV_ARC_POINTS",
  601.         0x2043, MB_STD, "PMERR_INV_ATTR_MODE",
  602.         0x2044, MB_STD, "PMERR_INV_BACKGROUND_COL_ATTR",
  603.         0x2045, MB_STD, "PMERR_INV_BACKGROUND_MIX_ATTR",
  604.         0x2046, MB_STD, "PMERR_INV_BITBLT_MIX",
  605.         0x2047, MB_STD, "PMERR_INV_BITBLT_STYLE",
  606.         0x2048, MB_STD, "PMERR_INV_BITMAP_DIMENSION",
  607.         0x2049, MB_STD, "PMERR_INV_BOX_CONTROL",
  608.         0x204A, MB_STD, "PMERR_INV_BOX_ROUNDING_PARM",
  609.         0x204B, MB_STD, "PMERR_INV_CHAR_ANGLE_ATTR",
  610.         0x204C, MB_STD, "PMERR_INV_CHAR_DIRECTION_ATTR",
  611.         0x204D, MB_STD, "PMERR_INV_CHAR_MODE_ATTR",
  612.         0x204E, MB_STD, "PMERR_INV_CHAR_POS_OPTIONS",
  613.         0x204F, MB_STD, "PMERR_INV_CHAR_SET_ATTR",
  614.         0x2050, MB_STD, "PMERR_INV_CHAR_SHEAR_ATTR",
  615.         0x2051, MB_STD, "PMERR_INV_CLIP_PATH_OPTIONS",
  616.         0x2052, MB_STD, "PMERR_INV_CODEPAGE",
  617.         0x2053, MB_STD, "PMERR_INV_COLOR_ATTR",
  618.         0x2054, MB_STD, "PMERR_INV_COLOR_DATA",
  619.         0x2055, MB_STD, "PMERR_INV_COLOR_FORMAT",
  620.         0x2056, MB_STD, "PMERR_INV_COLOR_INDEX",
  621.         0x2057, MB_STD, "PMERR_INV_COLOR_OPTIONS",
  622.         0x2058, MB_STD, "PMERR_INV_COLOR_START_INDEX",
  623.         0x2059, MB_STD, "PMERR_INV_COORD_OFFSET",
  624.         0x205A, MB_STD, "PMERR_INV_COORD_SPACE",
  625.         0x205B, MB_STD, "PMERR_INV_COORDINATE",
  626.         0x205C, MB_STD, "PMERR_INV_CORRELATE_DEPTH",
  627.         0x205D, MB_STD, "PMERR_INV_CORRELATE_TYPE",
  628.         0x205E, MB_STD, "PMERR_INV_CURSOR_BITMAP",
  629.         0x205F, MB_STD, "PMERR_INV_DC_DATA",
  630.         0x2060, MB_STD, "PMERR_INV_DC_TYPE",
  631.         0x2061, MB_STD, "PMERR_INV_DEVICE_NAME",
  632.         0x2062, MB_STD, "PMERR_INV_DEV_MODES_OPTIONS",
  633.         0x2063, MB_STD, "PMERR_INV_DRAW_CONTROL",
  634.         0x2064, MB_STD, "PMERR_INV_DRAW_VALUE",
  635.         0x2065, MB_STD, "PMERR_INV_DRAWING_MODE",
  636.         0x2066, MB_STD, "PMERR_INV_DRIVER_DATA",
  637.         0x2067, MB_STD, "PMERR_INV_DRIVER_NAME",
  638.         0x2068, MB_STD, "PMERR_INV_DRAW_BORDER_OPTION",
  639.         0x2069, MB_STD, "PMERR_INV_EDIT_MODE",
  640.         0x206A, MB_STD, "PMERR_INV_ELEMENT_OFFSET",
  641.         0x206B, MB_STD, "PMERR_INV_ELEMENT_POINTER",
  642.         0x206C, MB_STD, "PMERR_INV_END_PATH_OPTIONS",
  643.         0x206D, MB_STD, "PMERR_INV_ESC_CODE",
  644.         0x206E, MB_STD, "PMERR_INV_ESCAPE_DATA",
  645.         0x206F, MB_STD, "PMERR_INV_EXTENDED_LCID",
  646.         0x2070, MB_STD, "PMERR_INV_FILL_PATH_OPTIONS",
  647.         0x2071, MB_STD, "PMERR_INV_FIRST_CHAR",
  648.         0x2072, MB_STD, "PMERR_INV_FONT_ATTRS",
  649.         0x2073, MB_STD, "PMERR_INV_FONT_FILE_DATA",
  650.         0x2074, MB_STD, "PMERR_INV_FOR_THIS_DC_TYPE",
  651.         0x2075, MB_STD, "PMERR_INV_FORMAT_CONTROL",
  652.         0x2076, MB_STD, "PMERR_INV_FORMS_CODE",
  653.         0x2077, MB_STD, "PMERR_INV_FONTDEF",
  654.         0x2078, MB_STD, "PMERR_INV_GEOM_LINE_WIDTH_ATTR",
  655.         0x2079, MB_STD, "PMERR_INV_GETDATA_CONTROL",
  656.         0x207A, MB_STD, "PMERR_INV_GRAPHICS_FIELD",
  657.         0x207B, MB_STD, "PMERR_INV_HBITMAP",
  658.         0x207C, MB_STD, "PMERR_INV_HDC",
  659.         0x207D, MB_STD, "PMERR_INV_HJOURNAL",
  660.         0x207E, MB_STD, "PMERR_INV_HMF",
  661.         0x207F, MB_STD, "PMERR_INV_HPS",
  662.         0x2080, MB_STD, "PMERR_INV_HRGN",
  663.         0x2081, MB_STD, "PMERR_INV_ID",
  664.         0x2082, MB_STD, "PMERR_INV_IMAGE_DATA_LENGTH",
  665.         0x2083, MB_STD, "PMERR_INV_IMAGE_DIMENSION",
  666.         0x2084, MB_STD, "PMERR_INV_IMAGE_FORMAT",
  667.         0x2085, MB_STD, "PMERR_INV_IN_AREA",
  668.         0x2086, MB_STD, "PMERR_INV_IN_CALLED_SEG",
  669.         0x2087, MB_STD, "PMERR_INV_IN_CURRENT_EDIT_MODE",
  670.         0x2088, MB_STD, "PMERR_INV_IN_DRAW_MODE",
  671.         0x2089, MB_STD, "PMERR_INV_IN_ELEMENT",
  672.         0x208A, MB_STD, "PMERR_INV_IN_IMAGE",
  673.         0x208B, MB_STD, "PMERR_INV_IN_PATH",
  674.         0x208C, MB_STD, "PMERR_INV_IN_RETAIN_MODE",
  675.         0x208D, MB_STD, "PMERR_INV_IN_SEG",
  676.         0x208E, MB_STD, "PMERR_INV_IN_VECTOR_SYMBOL",
  677.         0x208F, MB_STD, "PMERR_INV_INFO_TABLE",
  678.         0x2090, MB_STD, "PMERR_INV_JOURNAL_OPTION",
  679.         0x2091, MB_STD, "PMERR_INV_KERNING_FLAGS",
  680.         0x2092, MB_STD, "PMERR_INV_LENGTH_OR_COUNT",
  681.         0x2093, MB_STD, "PMERR_INV_LINE_END_ATTR",
  682.         0x2094, MB_STD, "PMERR_INV_LINE_JOIN_ATTR",
  683.         0x2095, MB_STD, "PMERR_INV_LINE_TYPE_ATTR",
  684.         0x2096, MB_STD, "PMERR_INV_LINE_WIDTH_ATTR",
  685.         0x2097, MB_STD, "PMERR_INV_LOGICAL_ADDRESS",
  686.         0x2098, MB_STD, "PMERR_INV_MARKER_BOX_ATTR",
  687.         0x2099, MB_STD, "PMERR_INV_MARKER_SET_ATTR",
  688.         0x209A, MB_STD, "PMERR_INV_MARKER_SYMBOL_ATTR",
  689.         0x209B, MB_STD, "PMERR_INV_MATRIX_ELEMENT",
  690.         0x209C, MB_STD, "PMERR_INV_MAX_HITS",
  691.         0x209D, MB_STD, "PMERR_INV_METAFILE",
  692.         0x209E, MB_STD, "PMERR_INV_METAFILE_LENGTH",
  693.         0x209F, MB_STD, "PMERR_INV_METAFILE_OFFSET",
  694.         0x20A0, MB_STD, "PMERR_INV_MICROPS_DRAW_CONTROL",
  695.         0x20A1, MB_STD, "PMERR_INV_MICROPS_FUNCTION",
  696.         0x20A2, MB_STD, "PMERR_INV_MICROPS_ORDER",
  697.         0x20A3, MB_STD, "PMERR_INV_MIX_ATTR",
  698.         0x20A4, MB_STD, "PMERR_INV_MODE_FOR_OPEN_DYN",
  699.         0x20A5, MB_STD, "PMERR_INV_MODE_FOR_REOPEN_SEG",
  700.         0x20A6, MB_STD, "PMERR_INV_MODIFY_PATH_MODE",
  701.         0x20A7, MB_STD, "PMERR_INV_MULTIPLIER",
  702.         0x20A8, MB_STD, "PMERR_INV_NESTED_FIGURES",
  703.         0x20A9, MB_STD, "PMERR_INV_OR_INCOMPAT_OPTIONS",
  704.         0x20AA, MB_STD, "PMERR_INV_ORDER_LENGTH",
  705.         0x20AB, MB_STD, "PMERR_INV_ORDERING_PARM",
  706.         0x20AC, MB_STD, "PMERR_INV_OUTSIDE_DRAW_MODE",
  707.         0x20AD, MB_STD, "PMERR_INV_PAGE_VIEWPORT",
  708.         0x20AE, MB_STD, "PMERR_INV_PATH_ID",
  709.         0x20AF, MB_STD, "PMERR_INV_PATH_MODE",
  710.         0x20B0, MB_STD, "PMERR_INV_PATTERN_ATTR",
  711.         0x20B1, MB_STD, "PMERR_INV_PATTERN_REF_PT_ATTR",
  712.         0x20B2, MB_STD, "PMERR_INV_PATTERN_SET_ATTR",
  713.         0x20B3, MB_STD, "PMERR_INV_PATTERN_SET_FONT",
  714.         0x20B4, MB_STD, "PMERR_INV_PICK_APERTURE_OPTION",
  715.         0x20B5, MB_STD, "PMERR_INV_PICK_APERTURE_POSN",
  716.         0x20B6, MB_STD, "PMERR_INV_PICK_APERTURE_SIZE",
  717.         0x20B7, MB_STD, "PMERR_INV_PICK_NUMBER",
  718.         0x20B8, MB_STD, "PMERR_INV_PLAY_METAFILE_OPTION",
  719.         0x20B9, MB_STD, "PMERR_INV_PRIMITIVE_TYPE",
  720.         0x20BA, MB_STD, "PMERR_INV_PS_SIZE",
  721.         0x20BB, MB_STD, "PMERR_INV_PUTDATA_FORMAT",
  722.         0x20BC, MB_STD, "PMERR_INV_QUERY_ELEMENT_NO",
  723.         0x20BD, MB_STD, "PMERR_INV_RECT",
  724.         0x20BE, MB_STD, "PMERR_INV_REGION_CONTROL",
  725.         0x20BF, MB_STD, "PMERR_INV_REGION_MIX_MODE",
  726.         0x20C0, MB_STD, "PMERR_INV_REPLACE_MODE_FUNC",
  727.         0x20C1, MB_STD, "PMERR_INV_RESERVED_FIELD",
  728.         0x20C2, MB_STD, "PMERR_INV_RESET_OPTIONS",
  729.         0x20C3, MB_STD, "PMERR_INV_RGBCOLOR",
  730.         0x20C4, MB_STD, "PMERR_INV_SCAN_START",
  731.         0x20C5, MB_STD, "PMERR_INV_SEG_ATTR",
  732.         0x20C6, MB_STD, "PMERR_INV_SEG_ATTR_VALUE",
  733.         0x20C7, MB_STD, "PMERR_INV_SEG_CH_LENGTH",
  734.         0x20C8, MB_STD, "PMERR_INV_SEG_NAME",
  735.         0x20C9, MB_STD, "PMERR_INV_SEG_OFFSET",
  736.         0x20CA, MB_STD, "PMERR_INV_SETID",
  737.         0x20CB, MB_STD, "PMERR_INV_SETID_TYPE",
  738.         0x20CC, MB_STD, "PMERR_INV_SET_VIEWPORT_OPTION",
  739.         0x20CD, MB_STD, "PMERR_INV_SHARPNESS_PARM",
  740.         0x20CE, MB_STD, "PMERR_INV_SOURCE_OFFSET",
  741.         0x20CF, MB_STD, "PMERR_INV_STOP_DRAW_VALUE",
  742.         0x20D0, MB_STD, "PMERR_INV_TRANSFORM_TYPE",
  743.         0x20D1, MB_STD, "PMERR_INV_USAGE_PARM",
  744.         0x20D2, MB_STD, "PMERR_INV_VIEWING_LIMITS",
  745.         0x20D3, MB_STD, "PMERR_JFILE_BUSY",
  746.         0x20D4, MB_STD, "PMERR_JNL_FUNC_DATA_TOO_LONG",
  747.         0x20D5, MB_STD, "PMERR_KERNING_NOT_SUPPORTED",
  748.         0x20D6, MB_STD, "PMERR_LABEL_NOT_FOUND",
  749.         0x20D7, MB_STD, "PMERR_MATRIX_OVERFLOW",
  750.         0x20D8, MB_STD, "PMERR_METAFILE_INTERNAL_ERROR",
  751.         0x20D9, MB_STD, "PMERR_METAFILE_IN_USE",
  752.         0x20DA, MB_STD, "PMERR_METAFILE_LIMIT_EXCEEDED",
  753.         0x20DB, MB_STD, "PMERR_NAME_STACK_FULL",
  754.         0x20DC, MB_STD, "PMERR_NOT_CREATED_BY_DEVOPENDC",
  755.         0x20DD, MB_STD, "PMERR_NOT_IN_AREA",
  756.         0x20DE, MB_STD, "PMERR_NOT_IN_DRAW_MODE",
  757.         0x20DF, MB_STD, "PMERR_NOT_IN_ELEMENT",
  758.         0x20E0, MB_STD, "PMERR_NOT_IN_IMAGE",
  759.         0x20E1, MB_STD, "PMERR_NOT_IN_PATH",
  760.         0x20E2, MB_STD, "PMERR_NOT_IN_RETAIN_MODE",
  761.         0x20E3, MB_STD, "PMERR_NOT_IN_SEG",
  762.         0x20E4, MB_STD, "PMERR_NO_BITMAP_SELECTED",
  763.         0x20E5, MB_STD, "PMERR_NO_CURRENT_ELEMENT",
  764.         0x20E6, MB_STD, "PMERR_NO_CURRENT_SEG",
  765.         0x20E7, MB_STD, "PMERR_NO_METAFILE_RECORD_HANDLE",
  766.         0x20E8, MB_STD, "PMERR_ORDER_TOO_BIG",
  767.         0x20E9, MB_STD, "PMERR_OTHER_SET_ID_REFS",
  768.         0x20EA, MB_STD, "PMERR_OVERRAN_SEG",
  769.         0x20EB, MB_STD, "PMERR_OWN_SET_ID_REFS",
  770.         0x20EC, MB_STD, "PMERR_PATH_INCOMPLETE",
  771.         0x20ED, MB_STD, "PMERR_PATH_LIMIT_EXCEEDED",
  772.         0x20EE, MB_STD, "PMERR_PATH_UNKNOWN",
  773.         0x20EF, MB_STD, "PMERR_PEL_IS_CLIPPED",
  774.         0x20F0, MB_STD, "PMERR_PEL_NOT_AVAILABLE",
  775.         0x20F1, MB_STD, "PMERR_PRIMITIVE_STACK_EMPTY",
  776.         0x20F2, MB_STD, "PMERR_PROLOG_ERROR",
  777.         0x20F3, MB_STD, "PMERR_PROLOG_SEG_ATTR_NOT_SET",
  778.         0x20F4, MB_STD, "PMERR_PS_BUSY",
  779.         0x20F5, MB_STD, "PMERR_PS_IS_ASSOCIATED",
  780.         0x20F6, MB_STD, "PMERR_RAM_JNL_FILE_TOO_SMALL",
  781.         0x20F7, MB_STD, "PMERR_REALIZE_NOT_SUPPORTED",
  782.         0x20F8, MB_STD, "PMERR_REGION_IS_CLIP_REGION",
  783.         0x20F9, MB_STD, "PMERR_RESOURCE_DEPLETION",
  784.         0x20FA, MB_STD, "PMERR_SEG_AND_REFSEG_ARE_SAME",
  785.         0x20FB, MB_STD, "PMERR_SEG_CALL_RECURSIVE",
  786.         0x20FC, MB_STD, "PMERR_SEG_CALL_STACK_EMPTY",
  787.         0x20FD, MB_STD, "PMERR_SEG_CALL_STACK_FULL",
  788.         0x20FE, MB_STD, "PMERR_SEG_IS_CURRENT",
  789.         0x20FF, MB_STD, "PMERR_SEG_NOT_CHAINED",
  790.         0x2100, MB_STD, "PMERR_SEG_NOT_FOUND",
  791.         0x2101, MB_STD, "PMERR_SEG_STORE_LIMIT_EXCEEDED",
  792.         0x2102, MB_STD, "PMERR_SETID_IN_USE",
  793.         0x2103, MB_STD, "PMERR_SETID_NOT_FOUND",
  794.         0x2104, MB_STD, "PMERR_STARTDOC_NOT_ISSUED",
  795.         0x2105, MB_STD, "PMERR_STOP_DRAW_OCCURRED",
  796.         0x2106, MB_STD, "PMERR_TOO_MANY_METAFILES_IN_USE",
  797.         0x2107, MB_STD, "PMERR_TRUNCATED_ORDER",
  798.         0x2108, MB_STD, "PMERR_UNCHAINED_SEG_ZERO_INV",
  799.         0x2109, MB_STD, "PMERR_UNSUPPORTED_ATTR",
  800.         0x210A, MB_STD, "PMERR_UNSUPPORTED_ATTR_VALUE",
  801.  
  802.         0x8000, MB_STD, "ERROR_SWAPPER_NOT_ACTIVE",
  803.         0x8001, MB_STD, "ERROR_INVALID_SWAPID",
  804.         0x8002, MB_STD, "ERROR_IOERR_SWAP_FILE",
  805.         0x8003, MB_STD, "ERROR_SWAP_TABLE_FULL",
  806.         0x8004, MB_STD, "ERROR_SWAP_FILE_FULL",
  807.         0x8005, MB_STD, "ERROR_CANT_INIT_SWAPPER",
  808.         0x8006, MB_STD, "ERROR_SWAPPER_ALREADY_INIT",
  809.         0x8007, MB_STD, "ERROR_PMM_INSUFFICIENT_MEMORY",
  810.         0x8008, MB_STD, "ERROR_PMM_INVALID_FLAGS",
  811.         0x8009, MB_STD, "ERROR_PMM_INVALID_ADDRESS",
  812.         0x800a, MB_STD, "ERROR_PMM_LOCK_FAILED",
  813.         0x800b, MB_STD, "ERROR_PMM_UNLOCK_FAILED",
  814.         0x800c, MB_STD, "ERROR_PMM_MOVE_INCOMPLETE",
  815.         0x800d, MB_STD, "ERROR_UCOM_DRIVE_RENAMED",
  816.         0x800e, MB_STD, "ERROR_UCOM_FILENAME_TRUNCATED",
  817.         0x800f, MB_STD, "ERROR_UCOM_BUFFER_LENGTH",
  818.         0x8010, MB_STD, "ERROR_MON_CHAIN_HANDLE",
  819.         0x8011, MB_STD, "ERROR_MON_NOT_REGISTERED",
  820.         0x8012, MB_STD, "ERROR_SMG_ALREADY_TOP",
  821.         0x8013, MB_STD, "ERROR_PMM_ARENA_MODIFIED",
  822.         0x8014, MB_STD, "ERROR_SMG_PRINTER_OPEN",
  823.         0x8015, MB_STD, "ERROR_PMM_SET_FLAGS_FAILED",
  824.         0x8016, MB_STD, "ERROR_INVALID_DOS_DD",
  825.  
  826.         0xfe02, MB_STD, "ERROR_CPSIO_CODE_PAGE_INVALID",
  827.         0xfe03, MB_STD, "ERROR_CPSIO_NO_SPOOLER",
  828.         0xfe04, MB_STD, "ERROR_CPSIO_FONT_ID_INVALID",
  829.  
  830.         0xfe09, MB_STD, "ERROR_CPSIO_INTERNAL_ERROR",
  831.         0xfe0a, MB_STD, "ERROR_CPSIO_INVALID_PTR_NAME",
  832.  
  833.         0xfe0d, MB_STD, "ERROR_CPSIO_NOT_ACTIVE",
  834.         0xfe0f, MB_STD, "ERROR_CPSIO_PID_FULL",
  835.         0xfe10, MB_STD, "ERROR_CPSIO_PID_NOT_FOUND",
  836.         0xfe13, MB_STD, "ERROR_CPSIO_READ_CTL_SEQ",
  837.         0xfe15, MB_STD, "ERROR_CPSIO_READ_FNT_DEF",
  838.         0xfe17, MB_STD, "ERROR_CPSIO_WRITE_ERROR",
  839.         0xfe18, MB_STD, "ERROR_CPSIO_WRITE_FULL_ERROR",
  840.         0xfe19, MB_STD, "ERROR_CPSIO_WRITE_HANDLE_BAD",
  841.         0xfe32, MB_STD, "ERROR_CPSIO_SWIT_LOAD",
  842.         0xfe35, MB_STD, "ERROR_CPSIO_INV_COMMAND",
  843.         0xfe36, MB_STD, "ERROR_CPSIO_NO_FONT_SWIT",
  844.     };
  845.  
  846.     USHORT errorCnt = sizeof(errorMsg) / sizeof(ERRORMSG);
  847.  
  848.     CHAR szUnkSysError[] = "Unknown system error %u (%#04.4x)";
  849.     CHAR szUnkAppError[] = "Unknown application error %u (%#04.4x)";
  850.