| WHLLOK | 0 | /* Successful. */ |
| WHLLNOTCONNECTED | 1 | /* Not Connected To Presentation Space. */ |
| WHLLBLOCKNOTAVAIL | 1 | /* Requested size is not available. */ |
| WHLLPARAMETERERROR | 2 | /* Parameter Error/Invalid Function. */ |
| WHLLBLOCKIDINVALID | 2 | /* Invalid Block ID was specified. */ |
| WHLLFTXCOMPLETE | 3 | /* File Transfer Complete. */ |
| WHLLFTXSEGMENTED | 4 | /* File Transfer Complete / segmented. */ |
| WHLLPSBUSY | 4 | /* Presentation Space is Busy. */ |
| WHLLINHIBITED | 5 | /* Inhibited/Keyboard Locked. */ |
| WHLLTRUNCATED | 6 | /* Data Truncated. */ |
| WHLLPOSITIONERROR | 7 | /* Invalid Presentation Space Position. */ |
| WHLLNOTAVAILABLE | 8 | /* Unavailable Operation. */ |
| WHLLSYSERROR | 9 | /* System Error. */ |
| WHLLWOULDBLOCK | 10 | /* Blocking error. */ |
| WHLLUNAVAILABLE | 11 | /* Resource is unavailable. */ |
| WHLLPSENDED | 12 | /* The session stopped. */ |
| WHLLUNDEFINEDKEY | 20 | /* Undefined Key Combination. */ |
| WHLLOIAUPDATE | 21 | /* OIA Updated. */ |
| WHLLPSUPDATE | 22 | /* PS Updated. */ |
| WHLLBOTHUPDATE | 23 | /* Both PS And OIA Updated. */ |
| WHLLNOFIELD | 24 | /* No Such Field Found. */ |
| WHLLNOKEYSTROKES | 25 | /* No Keystrokes are available. */ |
| WHLLPSCHANGED | 26 | /* PS or OIA changed. */ |
| WHLLFTXABORTED | 27 | /* File transfer aborted. */ |
| WHLLZEROLENFIELD | 28 | /* Field length is zero. */ |
| WHLLINVALIDTYPE | 30 | /* Invalid Cursor Type. */ |
| WHLLKEYOVERFLOW | 31 | /* Keystroke overflow. */ |
| WHLLSFACONN | 32 | /* Other application already connected. */ |
| WHLLTRANCANCLI | 34 | /* Message sent inbound to host canceled*/ |
| WHLLTRANCANCL | 35 | /* Outbound trans from host canceled. */ |
| WHLLHOSTCLOST | 36 | /* Contact with host was lost. */ |
| WHLLOKDISABLED | 37 | /* The function was successful. */ |
| WHLLNOTCOMPLETE | 38 | /* The requested fn was not completed. */ |
| WHLLSFDDM | 39 | /* One DDM session already connected. */ |
| WHLLSFDPEND | 40 | /* Disconnected w async requests pending*/ |
| WHLLBUFFINUSE | 41 | /* Specified buffer currently in use. */ |
| WHLLNOMATCH | 42 | /* No matching request found. */ |
| WHLLLOCKERROR | 43 | /* API already locked or unlocked. */ |
| WHLLINVALIDFUNCTIONNUM | 301 | /* Invalid function number. */ |
| WHLLFILENOTFOUND | 302 | /* File Not Found. */ |
| WHLLACCESSDENIED | 305 | /* Access Denied. */ |
| WHLLMEMORY | 308 | /* Insufficient Memory. */ |
| WHLLINVALIDENVIRONMENT | 310 | /* Invalid environment. */ |
| WHLLINVALIDFORMAT | 311 | /* Invalid format. */ |
| WHLLINVALIDPSID | 9998 | /* Invalid Presentation Space ID. */ |
| WHLLINVALIDRC | 9999 | /* Invalid Row or Column Code. */ |
| WHLLALREADY | 61440 | /* An async call is already outstanding */ |
| WHLLINVALID | 61441 | /* Async Task Id is invalid */ |
| WHLLCANCEL | 61442 | /* Blocking call was canceled */ |
| WHLLSYSNOTREADY | 61443 | /* Underlying subsystem not started */ |
| WHLLVERNOTSUPPORTED | 61444 | /* Application version not supported */ |