/**INC+***********************************************************************/
/* Header:    winrc.h                                                        */
/*                                                                           */
/* Purpose:   Defines common return codes used by the APPC and NOF APIs      */
/*                                                                           */
/* Dependencies:                                                             */
/*                                                                           */
/* Invocation:                                                               */
/*            #include <winrc.h>                                             */
/*                                                                           */
/* Copyright Notice:                                                         */
/*               (C) COPYRIGHT IBM CORP. 1995 - PROGRAM PROPERTY OF IBM      */
/*               ALL RIGHTS RESERVED                                         */
/*                                                                           */
/* $Revision::   1.18                  $$Modtime::   19 Oct 1999 13:14:50   $*/
/**INC-***********************************************************************/

/*****************************************************************************/
/* If winrc.h not already included then define WINRC_C_INCLUDED to avoid it  */
/* being included again                                                      */
/*****************************************************************************/
#ifndef WINRC_C_INCLUDED
#define WINRC_C_INCLUDED

/*****************************************************************************/
/* Primary return codes                                                      */
/*****************************************************************************/
#define AP_OK                                   0x0000
#define AP_ACTIVATION_FAIL_NO_RETRY             0x0410
#define AP_ACTIVATION_FAIL_RETRY                0x0310
#define AP_ALLOCATION_ERROR                     0x0300
#define AP_BACKED_OUT                           0x2300
#define AP_DATA_POSTING_BLOCKED                 0x0810
#define AP_BUFFER_PROVIDED_TOO_SMALL            0x4500
#define AP_BUFFER_TOO_SMALL   AP_BUFFER_PROVIDED_TOO_SMALL
#define AP_CANCELLED                            0x2100
#define AP_CNOS_LOCAL_RACE_REJECT               0x1700
#define AP_CNOS_PARTNER_LU_REJECT               0x1800
#define AP_COMM_SUBSYSTEM_ABENDED               0x03F0
#define AP_COMM_SUBSYSTEM_NOT_LOADED            0x04F0
#define AP_CONVERSATION_TYPE_MIXED              0x1900
#define AP_CONVERSATION_ENDED                   0x4200
#define AP_CONV_BUSY                            0x05F0
#define AP_CONV_FAILURE_NO_RETRY                0x1000
#define AP_CONV_FAILURE_RETRY                   0x0F00
#define AP_CP_CP_SESS_ACT_FAILURE               0x0A10
#define AP_DEALLOC_ABEND                        0x0500
#define AP_DEALLOC_ABEND_PROG                   0x0600
#define AP_DEALLOC_ABEND_SVC                    0x0700
#define AP_DEALLOC_ABEND_TIMER                  0x0800
#define AP_DEALLOC_NORMAL                       0x0900
#define AP_DUPLEX_TYPE_MIXED                    0x4700
#define AP_ERROR_INDICATION                     0x4300
#define AP_EXPD_NOT_SUPPORTED_BY_LU             0x4400
#define AP_EXP_DATA_NOT_SUPPORTED_BY_LU AP_EXPD_NOT_SUPPORTED_BY_LU
#define AP_FUNCTION_NOT_SUPPORTED               0x0610
#define AP_INDICATION                           0x0210
#define AP_INVALID_KEY                          0x20F0
#define AP_INVALID_VERB_SEGMENT                 0x08F0
#define AP_LS_FAILURE                           0x2300
#define AP_LU_SESS_LIMIT_EXCEEDED               0x0510
#define AP_MEMORY_ALLOCATION_FAILURE            0x4600
#define AP_NODE_NOT_STARTED                     0x1B00
#define AP_NODE_STOPPING                        0x1A00
#define AP_OPERATION_INCOMPLETE                 0x4000
#define AP_OPERATION_NOT_ACCEPTED               0x4100
#define AP_PARAMETER_CHECK                      0x0100
#define AP_PATH_SWITCH_DISABLED                 0x0710
#define AP_PATH_SWITCH_NOT_ALLOWED              0x0910
#define AP_PROG_ERROR_NO_TRUNC                  0x0C00
#define AP_PROG_ERROR_PURGING                   0x0E00
#define AP_PROG_ERROR_TRUNC                     0x0D00
#define AP_REPLACED                             0x0080
#define AP_SECURITY_REQUESTED_NOT_SUPPORTED     0x2200
#define AP_STACK_TOO_SMALL                      0x15F0
#define AP_STATE_CHECK                          0x0200
#define AP_SVC_ERROR_NO_TRUNC                   0x1100
#define AP_SVC_ERROR_PURGING                    0x1300
#define AP_SVC_ERROR_TRUNC                      0x1200
#define AP_THREAD_BLOCKING                      0x06F0
#define AP_TP_BUSY                              0x02F0
#define AP_UNEXPECTED_DOS_ERROR                 0x11F0
#define AP_UNEXPECTED_SYSTEM_ERROR              0x11F0
#define AP_UNSUCCESSFUL                         0x1400
#define AP_ACCESS_DENIED                        0x0101
#define AP_INVALID_VERB                         0xFFFF

/*****************************************************************************/
/* Secondary return codes                                                    */
/*****************************************************************************/
#define AP_ACTIVATION_LIMITS_REACHED            0x3E100000L
#define AP_ALLOCATE_NOT_PENDING                 0x09050000L
#define AP_ALLOCATION_ERROR_PENDING             0x00000300L
#define AP_ALLOCATION_FAILURE_NO_RETRY          0x04000000L
#define AP_ALLOCATION_FAILURE_RETRY             0x05000000L
#define AP_ALL_APPL_ALREADY_REGISTERED          0x48080000L
#define AP_ALL_MODE_MUST_RESET                  0x53010000L
#define AP_ALL_RESOURCES_NOT_DEFINED            0xB7090000L
#define AP_ALREADY_STARTING                     0xC0010000L
#define AP_APPL_ALREADY_REGISTERED              0x63080000L
#define AP_APPL_NOT_REGISTERED                  0x4A080000L
#define AP_AS_NEGOTIATED                        0x07000000L
#define AP_AS_SPECIFIED                         0x00000000L
#define AP_ATTACH_MANAGER_INACTIVE              0x08050000L
#define AP_AUTOACT_EXCEEDS_SESSLIM              0x52010000L
#define AP_BAD_CONV_ID                          0x02000000L
#define AP_BAD_CONV_TYPE                        0x11000000L
#define AP_BAD_DUPLEX_TYPE                      0x22000000L
#define AP_BAD_CONV_STYLE    AP_BAD_DUPLEX_TYPE
#define AP_BAD_ERROR_DIRECTION                  0x05010000L
#define AP_BAD_DLOAD_ID                         0x03000001L
#define AP_BAD_LL                               0xF1000000L
#define AP_BAD_LU_ALIAS                         0x03000000L
#define AP_BAD_MODE_NAME                        0x57010000L
#define AP_BAD_PARTNER_LU_ALIAS                 0x5B010000L
#define AP_BAD_REMOTE_LU_ALIAS                  0x03000002L
#define AP_BAD_RETURN_CONTROL                   0x14000000L
#define AP_BAD_RETURN_STATUS_WITH_DATA          0xD7000000L
#define AP_BAD_SECURITY                         0x13000000L
#define AP_BAD_SNASVCMG_LIMITS                  0x54010000L
#define AP_BAD_SYNC_LEVEL                       0x12000000L
#define AP_BAD_TP_ID                            0x01000000L
#define AP_BAD_TYPE                             0x50020000L
#define AP_BO_NO_RESYNC                         0x00002408L
#define AP_BO_RESYNC                            0x01002408L
#define AP_CANT_CHANGE_TO_ZERO                  0x5D010000L
#define AP_CANT_DELETE_ADJ_ENDNODE              0x5C100000L
#define AP_CANT_DELETE_CP_LU                    0xB7070000L
#define AP_CANT_MODIFY_PORT_NAME                0x04100000L
#define AP_CANT_MODIFY_VISIBILITY               0x69100000L
#define AP_CANT_MODIFY_WHEN_ACTIVE              0x6A100000L
#define AP_CANT_RAISE_LIMITS                    0x51010000L
#define AP_CHANGE_SRC_DRAINS                    0x5D010000L
#define AP_CHECKSUM_FAILED                      0x39900000L
#define AP_CLASHING_NAU_RANGE                   0x1A900000L
#define AP_CNOS_ACCEPTED                        0x00000000L
#define AP_CNOS_COMMAND_RACE_REJECT             0x5F010000L
#define AP_CNOS_IMPLICIT_PARALLEL               0x50010000L
#define AP_CNOS_MODE_CLOSED                     0x56010000L
#define AP_CNOS_MODE_NAME_REJECT                0x57010000L
#define AP_CNOS_NEGOTIATED                      0x07000000L
#define AP_CNOS_REJECT                          0x2C100000L
#define AP_COMPRESSION_NOT_SUPPORTED            0x29900000L
#define AP_INVALID_MAX_COMPRESS_LVL             0x2A900000L
#define AP_INVALID_COMPRESSION                  0x2B900000L
#define AP_CONFIRM_BAD_STATE                    0x32000000L
#define AP_CONFIRMED_BAD_STATE                  0x41000000L
#define AP_CONFIRM_INVALID_FOR_FDX              0x34000000L
#define AP_CONFIRM_NOT_LL_BDY                   0x33000000L
#define AP_CONFIRM_ON_SYNC_LEVEL_NONE           0x31000000L
#define AP_CONFIRMED_BAD_STATE                  0x41000000L
#define AP_CONFIRMED_INVALID_FOR_FDX            0x42000000L
#define AP_CONVERSATION_TYPE_MISMATCH           0x34600810L
#define AP_COS_NAME_NOT_DEFD                    0x10080000L
#define AP_COS_TABLE_FULL                       0x64100000L
#define AP_CPSVCMG_ALREADY_DEFD                 0x21020000L
#define AP_CPSVCMG_MODE_NOT_ALLOWED             0x19050000L
#define AP_CP_OR_SNA_SVCMG_UNDELETABLE          0xF3010000L
#define AP_DATA_CORRUPT                         0x3A900000L
#define AP_DEACT_CG_INVALID_CGID                0x6C020000L
#define AP_DEALLOC_ABEND_PROG_PENDING           0x00000600L
#define AP_DEALLOC_ABEND_SVC_PENDING            0x00000700L
#define AP_DEALLOC_ABEND_TIMER_PENDING          0x00000800L
#define AP_DEALLOC_BAD_TYPE                     0x51000000L
#define AP_DEALLOC_CONFIRM_BAD_STATE            0x53000000L
#define AP_DEALLOC_FLUSH_BAD_STATE              0x52000000L
#define AP_DEALLOC_LOG_LL_WRONG                 0x57000000L
#define AP_DEALLOC_NOT_LL_BDY                   0x55000000L
#define AP_DEF_LINK_INVALID_SECURITY            0x22080000L
#define AP_DEF_PLU_INVALID_FQ_NAME              0x74020000L
#define AP_DEL_MODE_DEFAULT_SPCD                0xF4010000L
#define AP_DELAYED_VERB_PENDING                 0x3C900000L
#define AP_DEPENDENT_LU_NOT_SUPPORTED           0x0F900000L
#define AP_DIR_ENTRY_PARENT                     0x38100000L
#define AP_DISPLAY_INFO_EXCEEDS_LEN             0xB4010000L
#define AP_DISPLAY_INVALID_CONSTANT             0xB5010000L
#define AP_DLC_ACTIVE                           0x01100000L
#define AP_DLC_DEACTIVATING                     0x86020000L
#define AP_DLC_INACTIVE                         0x40100000L
#define AP_DLUR_NOT_SUPPORTED                   0x5F100000L
#define AP_DLUS_CAPS_MISMATCH                   0x08900000L
#define AP_DLUS_REJECTED                        0x07900000L
#define AP_DSLU_ACTIVE                          0x3D900000L
#define AP_DSPU_ALREADY_DEFINED                 0x13900000L
#define AP_DSPU_SERVICES_NOT_SUPPORTED          0x11900000L
#define AP_DUPLICATE                            0x8D020000L
#define AP_DUPLICATE_ADJ_NODE_ID                0x04100000L
#define AP_DUPLICATE_CP_NAME                    0x02100000L
#define AP_DUPLICATE_DEST_ADDR                  0x03100000L
#define AP_DUPLICATE_PORT                       0x10100000L
#define AP_DUPLICATE_PORT_NAME                  0x06100000L
#define AP_DUPLICATE_PORT_NUMBER                0x05100000L
#define AP_DUPLICATE_TG_NUMBER                  0x15530000L
#define AP_DYNAMIC_LOAD_ALREADY_REGD            0x46100000L
#define AP_ERROR                                0x13400000L
#define AP_EXCEEDS_MAX_ALLOWED                  0x5C010000L
#define AP_EXPD_BAD_RETURN_CONTROL              0x26010000L
#define AP_EXPD_DATA_BAD_CONV_STATE             0x27010000L
#define AP_FDX_NOT_SUPPORTED_BY_LU              0x23000000L
#define AP_FLUSH_NOT_SEND_STATE                 0x61000000L
#define AP_FORCED                               0xB7020000L
#define AP_GLOBAL_TIMEOUT_NOT_DEFINED           0x1D900000L
#define AP_HPR_NOT_SUPPORTED                    0x62100000L
#define AP_IMPLICIT_REQUEST_FAILED              0x6A080000L
#define AP_IMPLICIT_REQUEST_REJECTED            0x65080000L
#define AP_ANYNET_NOT_SUPPORTED                 0x66100000L
#define AP_INVALID_ACTIVE_TRANSACTION           0x66080000L
#define AP_INVALID_ADJ_NNCP_NAME                0x4A100000L
#define AP_INVALID_ALLOW_TIMEOUT                0x30900000L
#define AP_INVALID_APPLICATION_NAME             0x61080000L
#define AP_INVALID_AUTO_ACT_SUPP                0xB5020000L
#define AP_INVALID_BACK_LEVEL_SUPPORT           0x15000000L
#define AP_INVALID_BASE_NUMBER                  0x6B100000L
#define AP_INVALID_BKUP_DLUS_NAME               0x15900000L
#define AP_INVALID_BTU_SIZE                     0x44100000L
#define AP_INVALID_BYPASS_SECURITY              0x22020000L
#define AP_INVALID_BYTE_COST                    0xD1010000L
#define AP_INVALID_CATEGORY_NAME                0x67080000L
#define AP_INVALID_CLEANUP_TYPE                 0x24100000L
#define AP_INVALID_CLU_COMPRESSION              0xBB020000L
#define AP_INVALID_CLU_CRYPTOGRAPHY             0x37900000L
#define AP_INVALID_CNOS_PERMITTED               0x26020000L
#define AP_INVALID_CNOS_SLIM                    0x17020000L
#define AP_INVALID_CN_NAME                      0x21080000L
#define AP_INVALID_COMP_IN_SERIES               0xCA020000L
#define AP_INVALID_CONVERSATION_TYPE  AP_INVALID_CONV_TYPE
#define AP_INVALID_CONV_TYPE                    0xA1020000L
#define AP_INVALID_COS_NAME                     0x25100000L
#define AP_INVALID_COS_SNASVCMG_MODE            0x1C020000L
#define AP_INVALID_CP_NAME                      0xCA010000L
#define AP_INVALID_CRYPTOGRAPHY                 0x36900000L
#define AP_INVALID_DATA_SEGMENT                 0x06000000L
#define AP_INVALID_DATA_SIZE                    0x62080000L
#define AP_INVALID_DATA_TYPE                    0x05070000L
#define AP_INVALID_DAYS_LEFT                    0x65100000L
#define AP_INVALID_DEFAULT_RU_SIZE              0x1D020000L
#define AP_INVALID_DELAYED_LOGON                0x25020000L
#define AP_INVALID_DESTINATION                  0x68080000L
#define AP_INVALID_DISABLE                      0x2E900000L
#define AP_INVALID_DISCOVERY_SUPPORT            0x67100000L
#define AP_INVALID_DLC                          0x10050000L
#define AP_INVALID_DLC_NAME                     0x07100000L
#define AP_INVALID_DLC_TYPE                     0x08100000L
#define AP_INVALID_DLUR_SUPPORT                 0xBC020000L
#define AP_INVALID_DLUS_NAME                    0x00900000L
#define AP_INVALID_DLUS_RETRY_LIMIT             0x20900000L
#define AP_INVALID_DLUS_RETRY_TIMEOUT           0x1F900000L
#define AP_INVALID_DNST_LU_NAME                 0x53100000L
#define AP_INVALID_DRAIN                        0x27100000L
#define AP_INVALID_DRAIN_SOURCE                 0x20100000L
#define AP_INVALID_DRAIN_TARGET                 0x21100000L
#define AP_INVALID_DSPU_NAME                    0x12900000L
#define AP_INVALID_DSPU_SERVICES                0x10900000L
#define AP_INVALID_DUPLEX_SUPPORT               0x17900000L
#define AP_INVALID_DYNAMIC_LOAD                 0x24600810L
#define AP_INVALID_EFFECTIVE_CAPACITY           0x24080000L
#define AP_INVALID_ENABLED                      0x25600810L
#define AP_INVALID_ENABLE_POOL                  0x50300000L
#define AP_INVALID_EXCEPTION_INDEX              0x2C900000L
#define AP_INVALID_FILTER_OPTION                0x0C900000L
#define AP_INVALID_FILTER_TYPE                  0xB7050000L
#define AP_INVALID_FORCE                        0x22100000L
#define AP_INVALID_FP_NAME                      0x64080000L
#define AP_INVALID_FQPCID                       0x4E100000L
#define AP_INVALID_FQ_LU_NAME                   0xFD010000L
#define AP_INVALID_FQ_OWNING_CP_NAME            0xDB020000L
#define AP_INVALID_HOST_LU_NAME                 0x54100000L
#define AP_INVALID_HPR_SUPPORT                  0x33900000L
#define AP_INVALID_IMPLICIT_PLU_FORBID          0x23020000L
#define AP_INVALID_ISR_THRESHOLDS               0x5A100000L
#define AP_INVALID_LENGTH                       0x59100000L
#define AP_INVALID_LFSID_SPECIFIED              0xB7040000L
#define AP_INVALID_LIMITED_RESOURCE             0xCE010000L
#define AP_INVALID_LINK_ACTIVE_LIMIT            0x09100000L
#define AP_INVALID_LINK_ENABLE                  0xBA020000L
#define AP_INVALID_LINK_NAME                    0xC1010000L
#define AP_INVALID_LINK_NAME_SPECIFIED          0xB0020000L
#define AP_INVALID_LIST_OPTION                  0x47100000L
#define AP_INVALID_LIST_TYPE                    0xB70A0000L
#define AP_INVALID_LOCAL_LU                     0xFF010000L
#define AP_INVALID_LS_NAME                      0xB7030000L
#define AP_INVALID_LS_ROLE                      0x43100000L
#define AP_INVALID_LU_ALIAS                     0xB1020000L
#define AP_INVALID_LU_MODEL                     0x34900000L
#define AP_INVALID_LU_NAME                      0x29100000L
#define AP_INVALID_MAX_DECOMPRESS_LVL           0xC9020000L
#define AP_INVALID_MAX_IFRM_RCVD                0x57100000L
#define AP_INVALID_MAX_LS_EXCEPTION             0x2D900000L
#define AP_INVALID_MAX_NEGOT_SESS_LIM           0x14020000L
#define AP_INVALID_MAX_RECV_PACING_WIN          0x23900000L
#define AP_INVALID_MAX_RU_SIZE_LOW              0x22900000L
#define AP_INVALID_MAX_RU_SIZE_UPPER            0x19020000L
#define AP_INVALID_MDS_MU_FORMAT                0x46080000L
#define AP_INVALID_MESSAGE_TYPE                 0xB7060000L
#define AP_INVALID_MIN_CONLOSERS                0x21900000L
#define AP_INVALID_MIN_CONTENTION_SUM           0x28900000L
#define AP_INVALID_MIN_CONWINNERS               0x1E020000L
#define AP_INVALID_MODEL_NAME                   0x35900000L
#define AP_INVALID_MODE_NAME                    0x15020000L
#define AP_INVALID_MODE_NAME_SELECT             0x1E100000L
#define AP_INVALID_MODIFY_TEMPLATE              0x2F900000L
#define AP_INVALID_MS_CATEGORY                  0x60080000L
#define AP_INVALID_NAME_ATTRIBUTES              0x6C100000L
#define AP_INVALID_NAME_LEN                     0xC5020000L
#define AP_INVALID_NAU_ADDRESS                  0x50100000L
#define AP_INVALID_NAU_RANGE                    0x1B900000L
#define AP_INVALID_NETID_LEN                    0xC6020000L
#define AP_INVALID_NEW_PROT                     0x01070000L
#define AP_INVALID_NEW_UNPROT                   0x03070000L
#define AP_INVALID_NODE                         0x4B100000L
#define AP_INVALID_NODE_TYPE                    0xC4020000L
#define AP_INVALID_NODE_TYPE_FOR_HPR            0xC8020000L
#define AP_INVALID_NUMBER_OF_NODE_ROWS          0x02080000L
#define AP_INVALID_NUMBER_OF_TG_ROWS            0x09080000L
#define AP_INVALID_NUM_DSLU_TEMPLATES           0x1C900000L
#define AP_INVALID_NUM_LS_SPECIFIED             0xB2020000L
#define AP_INVALID_NUM_LUS                      0x5B100000L
#define AP_INVALID_NUM_PORTS_SPECIFIED          0x0B100000L
#define AP_INVALID_OP_CODE                      0x2D100000L
#define AP_INVALID_ORIGIN_CP_NAME               0x47080000L
#define AP_INVALID_ORIGIN_NODE                  0x4C100000L
#define AP_INVALID_PARTNER_LU                   0xFE010000L
#define AP_INVALID_PASSWORD                     0x91020000L
#define AP_INVALID_PIP_ALLOWED                  0x26600810L
#define AP_INVALID_PLU_NAME                     0x1C100000L
#define AP_INVALID_POOL_NAME                    0x4F100000L
#define AP_INVALID_PORT_NAME                    0x0C100000L
#define AP_INVALID_PORT_TYPE                    0x0D100000L
#define AP_INVALID_PRIORITY                     0x52100000L
#define AP_INVALID_PRLL_SESS_SUPP               0x28100000L
#define AP_INVALID_PROCESS                      0x25050000L
#define AP_INVALID_PROFILE                      0x93020000L
#define AP_INVALID_PROPAGATION_DELAY            0x23080000L
#define AP_INVALID_PU_ID                        0x02900000L
#define AP_INVALID_PU_NAME                      0x56100000L
#define AP_INVALID_PU_TYPE                      0x56600000L
#define AP_INVALID_RECV_PACING_WINDOW           0x16020000L
#define AP_INVALID_RESOURCE_NAME                0x1E900000L
#define AP_INVALID_RESOURCE_TYPE                0x5D100000L
#define AP_INVALID_RESOURCE_TYPES               0x38900000L
#define AP_INVALID_RESPONSIBLE                  0x1F100000L
#define AP_INVALID_RES_NAME                     0x48100000L
#define AP_INVALID_RES_TYPE                     0x49100000L
#define AP_INVALID_RETRY_FLAGS                  0x3B900000L
#define AP_INVALID_BRANCH_LINK_TYPE             0x3E900000L
#define AP_INVALID_BRNN_SUPPORT                 0x3F900000L
#define AP_BRNN_SUPPORT_MISSING                 0x40900000L
#define AP_INVALID_UPLINK                       0x41900000L
#define AP_INVALID_DOWNLINK                     0x42900000L
#define AP_INVALID_IMPLICIT_UPLINK              0x43900000L
#define AP_INVALID_ROCP_NAME                    0x44900000L
#define AP_INVALID_REG_WITH_NN                  0x45900000L
#define AP_INVALID_RTP_CONNECTION               0x60100000L
#define AP_INVALID_SEMAPHORE_HANDLE             0xD6000000L
#define AP_INVALID_SESSION_ID                   0x12050000L
#define AP_INVALID_SESSION_LIMIT                0x26100000L
#define AP_INVALID_SET_COLLECT_NAMES            0x15050000L
#define AP_INVALID_SET_COLLECT_RSCVS            0x16050000L
#define AP_INVALID_SET_COLLECT_STATS            0x14050000L
#define AP_INVALID_SET_NEGOTIABLE               0x1D100000L
#define AP_INVALID_SET_PASSWORD                 0x09070000L
#define AP_INVALID_SET_PROT                     0x00070000L
#define AP_INVALID_SET_UNPROT                   0x02070000L
#define AP_INVALID_SET_USER                     0x04070000L
#define AP_INVALID_SNASVCMG_MODE_LIMIT          0x1A020000L
#define AP_INVALID_SOLICIT_SSCP_SESS            0x14900000L
#define AP_INVALID_SPECIFIC_SECURITY            0x24020000L
#define AP_INVALID_STATS_TYPE                   0x06070000L
#define AP_INVALID_STOP_TYPE                    0x0D900000L
#define AP_INVALID_SVCMG_LIMITS                 0x60010000L
#define AP_INVALID_SYM_DEST_NAME                0x58100000L
#define AP_INVALID_SYNC_LEVEL                   0xA3020000L
#define AP_INVALID_TABLE_TYPE                   0x07070000L
#define AP_INVALID_TARGET_PACING_CNT            0x18020000L
#define AP_INVALID_TEMPLATE_NAME                0x19900000L
#define AP_INVALID_TG                           0x4D100000L
#define AP_INVALID_TG_CHARS                     0x18030000L
#define AP_INVALID_TG_NUMBER                    0x15500000L
#define AP_INVALID_TIME_COST                    0xD6010000L
#define AP_INVALID_TP_NAME                      0xA0020000L
#define AP_INVALID_TYPE                         0x69080000L
#define AP_INVALID_UNINT_PLU_NAME               0x7C020000L
#define AP_INVALID_UPDATE_TYPE                  0x37100000L
#define AP_INVALID_USERID                       0x90020000L
#define AP_INVALID_USER_DEF_1                   0xC3010000L
#define AP_INVALID_USER_DEF_2                   0xC4010000L
#define AP_INVALID_USER_DEF_3                   0xC5010000L
#define AP_INVALID_WILDCARD_NAME                0x8C020000L
#define AP_KEY_APPL_ALREADY_REGISTERED          0x42080000L
#define AP_LAST_LINK_ON_ACTIVE_PORT             0x45100000L
#define AP_LINK_ACT_BY_LOCAL                    0x15100000L
#define AP_LINK_ACT_BY_REMOTE                   0x14100000L
#define AP_LINK_DEACTIVATED                     0x13100000L
#define AP_LINK_DEACT_IN_PROGRESS               0x12100000L
#define AP_LINK_NOT_DEFD                        0x17100000L
#define AP_LOCAL_CP_NAME                        0xD7010000L
#define AP_LS_ACTIVE                            0xDA010000L
#define AP_LS_PENDING_RETRY                     0x46900000L
#define AP_LU_ALIAS_ALREADY_USED                0xB9020000L
#define AP_LU_ALIAS_CANT_BE_CHANGED             0xB8020000L
#define AP_LU_ALREADY_ACTIVATING                0x25900000L
#define AP_LU_ALREADY_ACTIVE                    0x27900000L
#define AP_LU_ALREADY_DEFINED                   0x3B100000L
#define AP_IMPLICIT_LU_DEFINED                  0x3C100000L
#define AP_LU_DEACTIVATING                      0x26900000L
#define AP_LU_DETACHED                          0x5E010000L
#define AP_LU_NAME_POOL_NAME_CLASH              0x51100000L
#define AP_LU_NAME_WILDCARD_NAME_CLASH          0x8E020000L
#define AP_LU_NAU_ADDR_ALREADY_DEFD             0x12020000L
#define AP_LU_MODE_SESSION_LIMIT_ZERO           0x5D010000L
#define AP_MIN_GT_TOTAL                         0x55010000L
#define AP_MISSING_CP_NAME                      0x15510000L
#define AP_MISSING_CP_TYPE                      0x15520000L
#define AP_MISSING_TG_NUMBER                    0x15550000L
#define AP_MODE_ACTIVE                          0x1A100000L
#define AP_MODE_CLOSED                          0x56010000L
#define AP_MODE_NAME_NOT_DEFD                   0xF5010000L
#define AP_MODE_NOT_RESET                       0x2A100000L
#define AP_MODE_RESET                           0x2B100000L
#define AP_MODE_SESS_LIM_EXCEEDS_NEG            0x20020000L
#define AP_MODE_UNDELETABLE                     0xF6010000L
#define AP_MS_APPL_NAME_ALREADY_REGD            0x40080000L
#define AP_MS_APPL_NAME_NOT_REGD                0x44080000L
#define AP_NAU_ADDRESS_MISMATCH                 0x6D100000L
#define AP_NODE_ALREADY_STARTED                 0x39100000L
#define AP_NODE_FAILED_TO_START                 0x3A100000L
#define AP_NODE_ROW_WGT_LESS_THAN_LAST          0x04080000L
#define AP_NO_DEFAULT_DLUS_DEFINED              0x01900000L
#define AP_NO_LINKS_DEFINED                     0x41100000L
#define AP_NO_PORTS_DEFINED_ON_DLC              0x0F100000L
#define AP_NO_PROFILES                          0x33100000L
#define AP_NO_USE_OF_SNASVCMG                   0x17000000L
#define AP_NO_USE_OF_SNASVCMG_CPSVCMG           0x17000000L
#define AP_P_TO_R_INVALID_FOR_FDX               0xA5000000L
#define AP_PARALLEL_TGS_NOT_ALLOWED             0x15570000L
#define AP_PARALLEL_TGS_NOT_SUPPORTED           0x3F100000L
#define AP_PARTNER_NOT_FOUND                    0x13200000L
#define AP_PARTNER_NOT_RESPONDING               0x13300000L
#define AP_PATH_SWITCH_IN_PROGRESS              0x61100000L
#define AP_PIP_LEN_INCORRECT                    0x16000000L
#define AP_PIP_NOT_ALLOWED                      0x31600810L
#define AP_PIP_NOT_SPECIFIED_CORRECTLY          0x32600810L
#define AP_PLU_ACTIVE                           0x1B100000L
#define AP_PLU_ALIAS_ALREADY_USED               0xB4020000L
#define AP_CANT_DELETE_IMPLICIT_LU              0xB6020000L
#define AP_PLU_ALIAS_CANT_BE_CHANGED            0xB3020000L
#define AP_PORT_ACTIVE                          0x0E100000L
#define AP_PORT_DEACTIVATED                     0x08070000L
#define AP_PORT_INACTIVE                        0x3D100000L
#define AP_POSTED_DATA                          0x6E100000L
#define AP_POSTED_NO_DATA                       0x6F100000L
#define AP_PS_CREATION_FAILURE                  0x18100000L
#define AP_PU_ALREADY_ACTIVATING                0x03900000L
#define AP_PU_ALREADY_ACTIVE                    0x05900000L
#define AP_PU_ALREADY_DEACTIVATING              0x04900000L
#define AP_PU_ALREADY_DEFINED                   0x0E900000L
#define AP_PU_CONC_NOT_SUPPORTED                0x5E100000L
#define AP_PU_FAILED_ACTPU                      0x09900000L
#define AP_PU_NOT_ACTIVE                        0x06900000L
#define AP_PU_NOT_DEFINED                       0x55100000L
#define AP_PU_NOT_RESET                         0x0A900000L
#define AP_PU_OWNS_LUS                          0x0B900000L
#define AP_PW_SUB_NOT_SUPP_ON_SESS              0x26050000L
#define AP_P_TO_R_INVALID_TYPE                  0xA1000000L
#define AP_P_TO_R_NOT_LL_BDY                    0xA2000000L
#define AP_P_TO_R_NOT_SEND_STATE                0xA3000000L
#define AP_QUEUE_PROHIBITED                     0x18900000L
#define AP_RCV_AND_POST_BAD_FILL                0xD5000000L
#define AP_RCV_AND_POST_BAD_STATE               0xD1000000L
#define AP_RCV_AND_POST_NOT_LL_BDY              0xD2000000L
#define AP_RCV_AND_WAIT_BAD_FILL                0xB5000000L
#define AP_RCV_AND_WAIT_BAD_STATE               0xB1000000L
#define AP_RCV_AND_WAIT_NOT_LL_BDY              0xB2000000L
#define AP_RCV_EXPD_INVALID_LENGTH              0x25010000L
#define AP_RECEIVE_EXPD_INVALID_LENGTH AP_RCV_EXPD_INVALID_LENGTH
#define AP_RCV_IMMD_BAD_FILL                    0xC4000000L
#define AP_RCV_IMMD_BAD_STATE                   0xC1000000L
#define AP_RESET_SNA_DRAINS                     0x59010000L
#define AP_RESOURCE_NAME_NOT_ALLOWED            0xB70B0000L
#define AP_RTP_NOT_SUPPORTED                    0x63100000L
#define AP_R_T_S_BAD_STATE                      0xE1000000L
#define AP_R_T_S_INVALID_FOR_FDX                0xE2000000L
#define AP_RU_SIZE_LOW_UPPER_MISMATCH           0x24900000L
#define AP_SECURITY_NOT_VALID                   0x51600F08L
#define AP_SEND_DATA_CONFIRM_ON_SYNC_LEVEL_NONE 0xF5000000L
#define AP_SEND_DATA_CONFIRM_SYNC_NONE          0xF5000000L
#define AP_SEND_DATA_INVALID_TYPE               0xF4000000L
#define AP_SEND_DATA_NOT_LL_BDY                 0xF6000000L
#define AP_SEND_DATA_NOT_SEND_STATE             0xF2000000L
#define AP_SEND_ERROR_BAD_STATE                 0x04010000L
#define AP_SEND_ERROR_BAD_TYPE                  0x03010000L
#define AP_SEND_ERROR_LOG_LL_WRONG              0x02010000L
#define AP_SEND_EXPD_INVALID_LENGTH             0x24010000L
#define AP_SEND_TYPE_INVALID_FOR_FDX            0xF7000000L
#define AP_SINGLE_NOT_SRC_RESP                  0x5A010000L
#define AP_SNASVCMG_RESET_NOT_ALLOWED           0x67010000L
#define AP_SNA_DEFD_COS_CANT_BE_CHANGE          0x0A080000L
#define AP_SNA_DEFD_COS_CANT_BE_DELETE          0x11080000L
#define AP_SPCF_APPL_ALREADY_REGD               0x45080000L
#define AP_SSCP_PU_SESSION_NOT_ACTIVE           0x01030000L
#define AP_STOP_DLC_PENDING                     0x42100000L
#define AP_STOP_PORT_PENDING                    0x11100000L
#define AP_SYNC_LEVEL_NOT_SUPPORTED             0x41600810L
#define AP_SYSTEM_TP_CANT_BE_CHANGED            0x22600810L
#define AP_SYSTEM_TP_CANT_BE_DELETED            0x23600810L
#define AP_TEST_INVALID_FOR_FDX                 0x23010000L
#define AP_TG_NUMBER_IN_USE                     0x15540000L
#define AP_TG_ROW_WGT_LESS_THAN_LAST            0x05080000L
#define AP_TOO_MANY_PROFILES                    0x36100000L
#define AP_TOO_MANY_TPS                         0x43020000L
#define AP_TP_ACTIVE                            0x19100000L
#define AP_TP_NAME_NOT_RECOGNIZED               0x21600810L
#define AP_TRANS_PGM_NOT_AVAIL_NO_RETRY         0x00004c08L
#define AP_TRANS_PGM_NOT_AVAIL_NO_RTRY          0x00004C08L
#define AP_TRANS_PGM_NOT_AVAIL_RETRY            0x31604B08L
#define AP_UNDEFINED_TP_NAME                    0x06050000L
#define AP_UNKNOWN_ERROR_TYPE_PENDING           0x00001100L
#define AP_UNKNOWN_PARTNER_MODE                 0x18000000L
#define AP_UNKNOWN_USER                         0x32100000L
#define AP_UNRECOGNIZED_DEACT_TYPE              0x0E050000L

#define AP_INVALID_COS_TABLE_VERSION            0x47900000L
#define AP_CFRTP_REQUIRED_FOR_MLTG              0x48900000L
#define AP_INVALID_MLTG_PAC_ALGORITHM           0x49900000L
#define AP_LIM_RESRCE_INVALID_FOR_MLTG          0x4A900000L
#define AP_AUTO_ACT_INVALID_FOR_MLTG            0x4B900000L
#define AP_MLTG_LS_VISIBILITY_MISMATCH          0x4C900000L
#define AP_SLTG_LINK_ACTIVE                     0x4D900000L
#define AP_MLTG_LINK_PROPERTIES_DIFFER          0x4E900000L
#define AP_INVALID_ADJ_CP_NAME                  0x4F900000L
#define AP_INVALID_SEND_TERM_SELF               0x50900000L
#define AP_INVALID_TERM_METHOD                  0x51900000L
#define AP_INVALID_DISABLE_BRANCH_AWRN          0x52900000L
#define AP_INVALID_SHARING_PROHIBITED           0x53900000L
#define AP_INVALID_LINK_SPEC_FORMAT             0x54900000L
#define AP_INVALID_CN_TYPE                      0x55900000L
#define AP_INCONSISTENT_BEST_EFFORT             0x56900000L
#define AP_INVALID_CN_TG                        0x57900000L
#define AP_INVALID_LINK_SPEC_DATA               0x58900000L
#define AP_DLC_UI_ONLY                          0x59900000L
#define AP_ADJ_CP_WRONG_TYPE                    0x5A900000L
#define AP_CP_CP_SESS_ALREADY_ACTIVE            0x5B900000L
#define AP_NO_ACTIVE_CP_CP_LINK                 0x5C900000L
#define AP_INVALID_IMPL_APPN_LINKS_LEN          0x5E900000L
#define AP_INVALID_LIMIT_ENABLE                 0x5F900000L
#define AP_INVALID_LS_ATTRIBUTE                 0x60900000L
#define AP_VERB_IN_PROGRESS                     0x61900000L
#define AP_SOME_ENABLED                         0x62900000L
#define AP_NONE_ENABLED                         0x63900000L
#define AP_INCONSISTENT_IMPLICIT                0x64900000L
#define AP_INVALID_PREFER_ACTIVE_DLUS           0x65900000L
#define AP_INVALID_PERSIST_PIPE_SUPP            0x66900000L
#define AP_ACTIVATION_PROHIBITED                0x67900000L
#define AP_INVALID_NULL_ADDR_MEANING            0x68900000L
#define AP_LUNAME_CGID_MISMATCH                 0x6C900000L
#define AP_INVALID_ADDRESS_TYPE                 0x70900000L
#define AP_INVALID_MAX_LOCATE_SIZE              0x6E900000L

#define SV_DATA_EXCEEDS_RU_SIZE                 0x02030000L
#define SV_INVALID_DATA_SIZE                    0x62080000L
#define SV_INVALID_DATA_TYPE                    0x03030000L
#define SV_SSCP_PU_SESSION_NOT_ACTIVE           0x01030000L

#define AP_MEMORY_SHORTAGE                      0x00000001L
#define AP_DIRECTORY_FULL                       0x00000007L

#define AP_INVALID_ALERT_NUMBER                 0x00005521L
#define AP_INVALID_RTM_THRESHOLD                0x00005523L
#define AP_INVALID_RTM_TIMER_OPTION             0x00005524L
#define AP_INVALID_EMULATOR_USER                0x00005536L
#define AP_INVALID_SESSION_NAME                 0x00005537L
#define AP_INVALID_SESSION_TYPE                 0x00005538L

#define AP_SECURITY_NOT_VALID_PASSWORD_EXPIRED                      0x00FF0F08L
#define AP_SECURITY_NOT_VALID_PASSWORD_INVALID                      0x01FF0F08L
#define AP_SECURITY_NOT_VALID_USERID_REVOKED                        0x02FF0F08L
#define AP_SECURITY_NOT_VALID_USERID_INVALID                        0x03FF0F08L
#define AP_SECURITY_NOT_VALID_USERID_MISSING                        0x04FF0F08L
#define AP_SECURITY_NOT_VALID_PASSWORD_MISSING                      0x05FF0F08L
#define AP_SECURITY_NOT_VALID_GROUP_INVALID                         0x06FF0F08L
#define AP_SECURITY_NOT_VALID_USERID_REVOKED_IN_GROUP               0x07FF0F08L
#define AP_SECURITY_NOT_VALID_USERID_NOT_DEFD_TO_GROUP              0x08FF0F08L
#define AP_SECURITY_NOT_VALID_NOT_AUTHORIZED_AT_REMOTE_LU           0x09FF0F08L
#define AP_SECURITY_NOT_VALID_NOT_AUTHORIZED_FROM_LOCAL_LU          0x0AFF0F08L
#define AP_SECURITY_NOT_VALID_NOT_AUTHORIZED_TO_TRANSACTION_PROGRAM 0x0BFF0F08L
#define AP_SECURITY_NOT_VALID_INSTALLATION_EXIT_FAILED              0x0CFF0F08L
#define AP_SECURITY_NOT_VALID_PROCESSING_FAILURE                    0x0DFF0F08L
#define AP_SECURITY_NOT_VALID_PROTOCOL_VIOLATION                    0x0EFF0F08L

/*****************************************************************************/
/* SNA defined return code used in MS                                        */
/*****************************************************************************/
#define AP_RESOURCE_SHORTAGE            0x00001208L

/*****************************************************************************/
/* The following are added for Comm Server compatabily                       */
/*****************************************************************************/
#define  AP_DEALLOC_ABEND_PENDING               0x00000500L

/*****************************************************************************/
/* End ifndef WINRC_C_INCLUDED                                               */
/*****************************************************************************/
#endif

/* winrc.h */
