dosvect:
   dd DosBeep                       ;    0 (ULONG freq, ULONG dur);
   dd DosExit                       ;    1 (ULONG action, ULONG result);
   dd DosCreateThread               ;    2 (PTID ptid, PFNTHREAD pfn, ULONG param, ULONG flag, ULONG cbStack);
   dd DosResumeThread               ;    3 (TID tid);
   dd DosSuspendThread              ;    4 (TID tid);
   dd DosGetInfoBlocks              ;    5 (PTIB *pptib,PPIB *pppib);
   dd DosKillThread                 ;    6 (TID tid);
   dd DosWaitChild                  ;    7 (ULONG action, ULONG option, PRESULTCODES pres, PPID ppid, PID pid);
   dd DosWaitThread                 ;    8 (PTID ptid, ULONG option);
   dd DosSleep                      ;    9 (ULONG msec);
   dd DosDebug                      ;   10 (PVOID pdbgbuf);
   dd DosEnterCritSec               ;   11 (VOID);
   dd DosExitCritSec                ;   12 (VOID);
   dd DosExitList                   ;   13 (ULONG ordercode, PFNEXITLIST pfn);
   dd DosExecPgm                    ;   14 (PCHAR pObjname, LONG cbObjname, ULONG execFlag, PSZ pArg, PSZ pEnv, PRESULTCODES pRes, PSZ pName);
   dd DosSetPriority                ;   15 (ULONG scope, ULONG prtyclass, LONG delta, ULONG PorTid);
   dd DosKillProcess                ;   16 (ULONG action, PID pid);
   dd DosSetFileLocks               ;   17 (HFILE hFile, PFILELOCK pflUnlock, PFILELOCK pflLock, ULONG timeout, ULONG flags);
   dd DosCancelLockRequest          ;   18 (HFILE hFile, PFILELOCK pflLock);
   dd DosOpen                       ;   19 (PSZ    pszFileName,
   dd DosClose                      ;   20 (HFILE hFile);
   dd DosRead                       ;   21 (HFILE hFile, PVOID pBuffer, ULONG cbRead, PULONG pcbActual);
   dd DosWrite                      ;   22 (HFILE hFile, PVOID pBuffer, ULONG cbWrite, PULONG pcbActual);
   dd DosDelete                     ;   23 (PSZ pszFile);
   dd DosForceDelete                ;   24 (PSZ pszFile);
   dd DosDupHandle                  ;   25 (HFILE hFile, PHFILE pHfile);
   dd DosQueryFHState               ;   26 (HFILE hFile, PULONG pMode);
   dd DosSetFHState                 ;   27 (HFILE hFile, ULONG mode);
   dd DosQueryHType                 ;   28 (HFILE hFile, PULONG pType, PULONG pAttr);
   dd DosFindFirst                  ;   29 (PSZ    pszFileSpec,
   dd DosFindNext                   ;   30 (HDIR   hDir,
   dd DosFindClose                  ;   31 (HDIR hDir);
   dd DosFSAttach                   ;   32 (PSZ pszDevice, PSZ pszFilesystem, PVOID pData, ULONG cbData, ULONG flag);
   dd DosQueryFSAttach              ;   33 (PSZ    pszDeviceName,
   dd DosFSCtl                      ;   34 (PVOID pData, ULONG cbData, PULONG pcbData, PVOID pParms, ULONG cbParms, PULONG pcbParms, ULONG function, PSZ pszRoute, HFILE hFile, ULONG method);
   dd DosSetFileSize                ;   35 (HFILE hFile, ULONG cbSize);
   dd DosResetBuffer                ;   36 (HFILE hFile);
   dd DosSetFilePtr                 ;   37 (HFILE hFile, LONG ib, ULONG method, PULONG ibActual);
   dd DosMove                       ;   38 (PSZ pszOld, PSZ pszNew);
   dd DosCopy                       ;   39 (PSZ pszOld, PSZ pszNew, ULONG option);
   dd DosEditName                   ;   40 (ULONG metalevel, PSZ pszSource, PSZ pszEdit, PBYTE pszTarget, ULONG cbTarget);
   dd DosCreateDir                  ;   41 (PSZ pszDirName, PEAOP2 peaop2);
   dd DosDeleteDir                  ;   42 (PSZ pszDir);
   dd DosSetDefaultDisk             ;   43 (ULONG disknum);
   dd DosQueryCurrentDisk           ;   44 (PULONG pdisknum, PULONG plogical);
   dd DosSetCurrentDir              ;   45 (PSZ pszDir);
   dd DosQueryCurrentDir            ;   46 (ULONG disknum, PBYTE pBuf, PULONG pcbBuf);
   dd DosQueryFSInfo                ;   47 (ULONG disknum, ULONG infolevel, PVOID pBuf, ULONG cbBuf);
   dd DosSetFSInfo                  ;   48 (ULONG disknum, ULONG infolevel, PVOID pBuf, ULONG cbBuf);
   dd DosQueryVerify                ;   49 (PBOOL32 pBool);
   dd DosSetVerify                  ;   50 (BOOL32);
   dd DosSetMaxFH                   ;   51 (ULONG cFH);
   dd DosSetRelMaxFH                ;   52 (PLONG pcbReqCount, PULONG pcbCurMaxFH);
   dd DosQueryFileInfo              ;   53 (HFILE hf,
   dd DosSetFileInfo                ;   54 (HFILE hf,
   dd DosQueryPathInfo              ;   55 (PSZ   pszPathName,
   dd DosSetPathInfo                ;   56 (PSZ   pszPathName,
   dd DosShutdown                   ;   57 (ULONG ulReserved);
   dd DosEnumAttribute              ;   58 (ULONG  ulRefType,
   dd DosAllocMem                   ;   59 (PPVOID ppb, ULONG cb, ULONG flag);
   dd DosFreeMem                    ;   60 (PVOID pb);
   dd DosSetMem                     ;   61 (PVOID pb, ULONG cb, ULONG flag);
   dd DosGiveSharedMem              ;   62 (PVOID pb, PID pid, ULONG flag);
   dd DosGetSharedMem               ;   63 (PVOID pb, ULONG flag);
   dd DosGetNamedSharedMem          ;   64 (PPVOID ppb, PSZ pszName, ULONG flag);
   dd DosAllocSharedMem             ;   65 (PPVOID ppb, PSZ pszName, ULONG cb, ULONG flag);
   dd DosQueryMem                   ;   66 (PVOID pb, PULONG pcb, PULONG pFlag);
   dd DosSubAllocMem                ;   67 (PVOID pbBase, PPVOID ppb, ULONG cb);
   dd DosSubFreeMem                 ;   68 (PVOID pbBase, PVOID pb, ULONG cb);
   dd DosSubSetMem                  ;   69 (PVOID pbBase, ULONG flag, ULONG cb);
   dd DosSubUnsetMem                ;   70 (PVOID pbBase);
   dd DosCreateEventSem             ;   71 (PSZ pszName, PHEV phev, ULONG flAttr, BOOL32 fState);
   dd DosOpenEventSem               ;   72 (PSZ pszName, PHEV phev);
   dd DosCloseEventSem              ;   73 (HEV hev);
   dd DosResetEventSem              ;   74 (HEV hev, PULONG pulPostCt);
   dd DosPostEventSem               ;   75 (HEV hev);
   dd DosWaitEventSem               ;   76 (HEV hev, ULONG ulTimeout);
   dd DosQueryEventSem              ;   77 (HEV hev, PULONG pulPostCt);
   dd DosCreateMutexSem             ;   78 (PSZ pszName, PHMTX phmtx, ULONG flAttr, BOOL32 fState);
   dd DosOpenMutexSem               ;   79 (PSZ pszName, PHMTX phmtx);
   dd DosCloseMutexSem              ;   80 (HMTX hmtx);
   dd DosRequestMutexSem            ;   81 (HMTX hmtx, ULONG ulTimeout);
   dd DosReleaseMutexSem            ;   82 (HMTX hmtx);
   dd DosQueryMutexSem              ;   83 (HMTX hmtx, PID *ppid, TID *ptid, PULONG pulCount);
   dd DosCreateMuxWaitSem           ;   84 (PSZ pszName, PHMUX phmux, ULONG cSemRec, PSEMRECORD pSemRec, ULONG flAttr);
   dd DosOpenMuxWaitSem             ;   85 (PSZ pszName, PHMUX phmux);
   dd DosCloseMuxWaitSem            ;   86 (HMUX hmux);
   dd DosWaitMuxWaitSem             ;   87 (HMUX hmux, ULONG ulTimeout, PULONG pulUser);
   dd DosAddMuxWaitSem              ;   88 (HMUX hmux, PSEMRECORD pSemRec);
   dd DosDeleteMuxWaitSem           ;   89 (HMUX hmux, HSEM hSem);
   dd DosQueryMuxWaitSem            ;   90 (HMUX hmux, PULONG pcSemRec, PSEMRECORD pSemRec, PULONG pflAttr);
   dd DosGetDateTime                ;   91 (PDATETIME pdt);
   dd DosSetDateTime                ;   92 (PDATETIME pdt);
   dd DosAsyncTimer                 ;   93 (ULONG msec, HSEM hsem, PHTIMER phtimer);
   dd DosStartTimer                 ;   94 (ULONG msec, HSEM hsem, PHTIMER phtimer);
   dd DosStopTimer                  ;   95 (HTIMER htimer);
   dd DosLoadModule                 ;   96 (PSZ pszName, ULONG cbName, PSZ pszModname, PHMODULE phmod);
   dd DosFreeModule                 ;   97 (HMODULE hmod);
   dd DosQueryProcAddr              ;   98 (HMODULE hmod, ULONG ordinal, PSZ pszName,PFN* ppfn);
   dd DosQueryModuleHandle          ;   99 (PSZ pszModname, PHMODULE phmod);
   dd DosQueryModuleName            ;  100 (HMODULE hmod, ULONG cbName, PCHAR pch);
   dd DosQueryProcType              ;  101 (HMODULE hmod, ULONG ordinal, PSZ pszName, PULONG pulproctype);
   dd DosGetResource                ;  102 (HMODULE hmod, ULONG idType, ULONG idName, PPVOID ppb);
   dd DosFreeResource               ;  103 (PVOID pb);
   dd DosQueryResourceSize          ;  104 (HMODULE hmod, ULONG idt, ULONG idn, PULONG pulsize);
   dd DosQueryCtryInfo              ;  105 (ULONG cb, PCOUNTRYCODE pcc, PCOUNTRYINFO pci, PULONG pcbActual);
   dd DosQueryDBCSEnv               ;  106 (ULONG cb, PCOUNTRYCODE pcc, PCHAR pBuf);
   dd DosMapCase                    ;  107 (ULONG cb, PCOUNTRYCODE pcc, PCHAR pch);
   dd DosQueryCollate               ;  108 (ULONG cb, PCOUNTRYCODE pcc, PCHAR pch, PULONG pcch);
   dd DosQueryCp                    ;  109 (ULONG cb, PULONG arCP, PULONG pcCP);
   dd DosSetProcessCp               ;  110 (ULONG cp);
   dd DosSetExceptionHandler        ;  111 (PEXCEPTIONREGISTRATIONRECORD pERegRec);
   dd DosUnsetExceptionHandler      ;  112 (PEXCEPTIONREGISTRATIONRECORD pERegRec);
   dd DosRaiseException             ;  113 (PEXCEPTIONREPORTRECORD pexcept);
   dd DosSendSignalException        ;  114 (PID pid, ULONG exception);
   dd DosUnwindException            ;  115 (PEXCEPTIONREGISTRATIONRECORD phandler, PVOID pTargetIP, PEXCEPTIONREPORTRECORD pERepRec);
   dd DosSetSignalExceptionFocus    ;  116 (BOOL32 flag, PULONG pulTimes);
   dd DosEnterMustComplete          ;  117 (PULONG pulNesting);
   dd DosExitMustComplete           ;  118 (PULONG pulNesting);
   dd DosAcknowledgeSignalException ;  119 (ULONG ulSignalNum);
   dd DosCreatePipe                 ;  120 (PHFILE phfRead, PHFILE phfWrite, ULONG cb);
   dd DosCloseQueue                 ;  121 (HQUEUE hq);
   dd DosCreateQueue                ;  122 (PHQUEUE phq, ULONG priority, PSZ pszName);
   dd DosOpenQueue                  ;  123 (PPID ppid, PHQUEUE phq, PSZ pszName);
   dd DosPeekQueue                  ;  124 (HQUEUE hq, PREQUESTDATA pRequest, PULONG pcbData, PPVOID ppbuf, PULONG element, BOOL32 nowait, PBYTE ppriority, HEV hsem);
   dd DosPurgeQueue                 ;  125 (HQUEUE hq);
   dd DosQueryQueue                 ;  126 (HQUEUE hq, PULONG pcbEntries);
   dd DosReadQueue                  ;  127 (HQUEUE hq, PREQUESTDATA pRequest, PULONG pcbData, PPVOID ppbuf, ULONG element, BOOL32 wait, PBYTE ppriority, HEV hsem);
   dd DosWriteQueue                 ;  128 (HQUEUE hq, ULONG request, ULONG cbData, PVOID pbData, ULONG priority);
   dd DosError                      ;  129 (ULONG error);
   dd DosGetMessage                 ;  130 (PCHAR* pTable, ULONG cTable, PCHAR pBuf, ULONG cbBuf, ULONG msgnumber, PSZ pszFile, PULONG pcbMsg);
   dd DosErrClass                   ;  131 (ULONG code, PULONG pClass, PULONG pAction, PULONG pLocus);
   dd DosInsertMessage              ;  132 (PCHAR* pTable, ULONG cTable, PSZ pszMsg, ULONG cbMsg, PCHAR pBuf, ULONG cbBuf, PULONG pcbMsg);
   dd DosPutMessage                 ;  133 (HFILE hfile, ULONG cbMsg, PCHAR pBuf);
   dd DosQuerySysInfo               ;  134 (ULONG iStart, ULONG iLast, PVOID pBuf, ULONG cbBuf);
   dd DosScanEnv                    ;  135 (PSZ pszName, PSZ *ppszValue);
   dd DosSearchPath                 ;  136 (ULONG flag, PSZ pszPathOrName, PSZ pszFilename, PBYTE pBuf, ULONG cbBuf);
   dd DosQueryMessageCP             ;  137 (PCHAR pb, ULONG cb, PSZ pszFilename, PULONG cbBuf);
   dd DosQueryRASInfo               ;  138 (ULONG Index, PPVOID Addr);
   dd DosStartSession               ;  139 (PSTARTDATA psd, PULONG pidSession, PPID ppid);
   dd DosSetSession                 ;  140 (ULONG idSession, PSTATUSDATA psd);
   dd DosSelectSession              ;  141 (ULONG idSession);
   dd DosStopSession                ;  142 (ULONG scope, ULONG idSession);
   dd DosQueryAppType               ;  143 (PSZ pszName, PULONG pFlags);
   dd DosDevConfig                  ;  144 (PVOID pdevinfo, ULONG item);
   dd DosDevIOCtl                   ;  145 (HFILE hDevice, ULONG category, ULONG function, PVOID pParams, ULONG cbParmLenMax, PULONG pcbParmLen, PVOID pData, ULONG cbDataLenMax, PULONG pcbDataLen);
   dd DosPhysicalDisk               ;  146 (ULONG function, PVOID pBuf, ULONG cbBuf, PVOID pParams, ULONG cbParams);
   dd DosCallNPipe                  ;  147 (PSZ pszName, PVOID pInbuf, ULONG cbIn, PVOID pOutbuf, ULONG cbOut, PULONG pcbActual, ULONG msec);
   dd DosConnectNPipe               ;  148 (HPIPE hpipe);
   dd DosDisConnectNPipe            ;  149 (HPIPE hpipe);
   dd DosCreateNPipe                ;  150 (PSZ pszName, PHPIPE pHpipe, ULONG openmode, ULONG pipemode, ULONG cbInbuf, ULONG cbOutbuf, ULONG msec);
   dd DosPeekNPipe                  ;  151 (HPIPE hpipe, PVOID pBuf, ULONG cbBuf, PULONG pcbActual, PAVAILDATA pAvail, PULONG pState);
   dd DosQueryNPHState              ;  152 (HPIPE hpipe, PULONG pState);
   dd DosQueryNPipeInfo             ;  153 (HPIPE hpipe, ULONG infolevel, PVOID pBuf, ULONG cbBuf);
   dd DosQueryNPipeSemState         ;  154 (HSEM hsem, PPIPESEMSTATE pnpss, ULONG cbBuf);
   dd DosRawReadNPipe               ;  155 (PSZ pszName, ULONG cb, PULONG pLen, PVOID pBuf);
   dd DosRawWriteNPipe              ;  156 (PSZ pszName, ULONG cb);
   dd DosSetNPHState                ;  157 (HPIPE hpipe, ULONG state);
   dd DosSetNPipeSem                ;  158 (HPIPE hpipe, HSEM hsem, ULONG key);
   dd DosTransactNPipe              ;  159 (HPIPE hpipe, PVOID pOutbuf, ULONG cbOut, PVOID pInbuf, ULONG cbIn, PULONG pcbRead);
   dd DosWaitNPipe                  ;  160 (PSZ pszName, ULONG msec);
   dd DosTmrQueryFreq               ;  161 (PULONG pulTmrFreq);
   dd DosTmrQueryTime               ;  162 (PQWORD pqwTmrTime);
   dd DosRegisterPerfCtrs           ;  163 (PBYTE pbDataBlk, PBYTE pbTextBlk, ULONG flFlags);
   dd DosOpenVDD                    ;  164 (PSZ pszVDD, PHVDD phvdd);
   dd DosRequestVDD                 ;  165 (HVDD hvdd, SGID sgid, ULONG cmd,
   dd DosCloseVDD                   ;  166 (HVDD hvdd);
   dd DosQueryDOSProperty           ;  167 (SGID sgid, PSZ pszName,
   dd DosSetDOSProperty             ;  168 (SGID sgid, PSZ pszName,
        
