# $Id$

# Copyright (c) 2002, 2009 Steven H. Levine

# 14 Jun 07 SHL Convert to OpenWatcom
# 18 Jul 08 SHL Add Runtime_Error
# 17 Sep 08 JBS Commented out (# JBS) unneeded exports
# 08 Dec 08 SHL Ticket 307: Add process dump support
# 10 Dec 08 SHL Ticket 26: Add excepiton handler support

option description '@#The Netlabs FM/2 team:3.24.0#@##1## 2015-10-12 03:24:00      TRESBOPEEP::EN:US:0:U:@@FM/2 Runtime DLL Copyright (c) 1993, 1998 M. Kimes, Copyright (c) 2001, 2015 Steven Levine and Associates, Inc. All rights reserved'
segment class 'DATA' readwrite loadoncall nonshared
segment class 'CODE' loadoncall
option manyautodata

import DOSQPROCSTATUS DOSCALLS.154,
       DOSDUMPPROCESS DOSCALLS.113

export    InitFM3DLL_                                 .1,
#         FindSwapperDat_                             .2, // 13 Sep 08 JBS
          StartFM3_                                   .3,
# JBS          saymsg_                                     .4,
# JBS          Win_Error_                                  .5,
          IsRoot_                                     .6,
          IsFile_                                     .7,
          MakeValidDir_                               .8,
          StartTreeCnr_                               .9,
          StartDirCnr_                                .10,
          save_dir_                                   .11,
# JBS          strip_lead_char_                            .12,
# JBS          strip_trail_char_                           .13,
          unlinkf_                                    .14,
          wipeallf_                                   .15,
          insert_filename_                            .16,
          StartMLEEditor_                             .17,
          StartArcCnr_                                .18,
          ExecAssociation_                            .19,
          StartIniEditor_                             .20,
          KillDlgProc                                 .21,
          UndeleteDlgProc                             .22,
          StartCollector_                             .23,
# JBS          FillInDriveFlags_                           .24,
# JBS          save_tools_                                 .25,
          ViewInfProc                                 .26,
# JBS          ArgDriveFlags_                              .27,
# JBS          SetIconDlgProc                              .28,
          DisplayEAsProc                              .29,
          CreateDataBar_                              .30,
          AddToList_                                  .31,
# JBS          FreeList_                                   .32,
          StartSeeAll_                                .33,

# JBS          _fToolsChanged                              .34,
          _fAmAV2                                     .35,
# JBS          _fNoSaveState                               .37,
          _fLogFile                                   .38,
# JBS          _LogFileHandle                              .39,
          _fmprof                                     .40,
          _FM3ModHandle                               .41,
# JBS          _StopPrinting                               .42,
# JBS          _fReminimize                                .43,
          _ArcTempRoot                                .44,
          _hwndHelp                                   .45,
# JBS          _fIniExisted                                .46,

# NOWAT  __PGLOBAL_PTR                                .47,
# NOWAT  __cputsused                                  .48,
# NOWAT  __critlib_except                             .49,
# NOWAT  __ctype                                      .50,
# NOWAT  _DosSelToFlat                                .51,
# NOWAT  _DosFlatToSel                                .52,
          _environ                                    .53,
# NOWAT   _errno                                      .54,
# NOWAT  _getcheused                                  .55,
         __osmajor                                    .56,
         __osminor                                    .57,
# NOWAT  _osmode                                      .58,
         _timezone                                    .59,
         _tzname                                      .60,
# NOWAT  __ungetchused                                .61,
# NOWAT  _stderr                                      .62,
# NOWAT  _stdin                                       .63,
# NOWAT  _stdout                                      .64,
# NOWAT  __CRT_init                                   .65,
# NOWAT  __CheckIfMem                                 .66,
# NOVAC  _EXE_Exception                               .67,
# NOWAT  __Exception                                  .68,
# NOWAT  __Flush                                      .69,
# NOWAT  __Fmprs                                      .70,
# NOWAT  __Fnprs                                      .71,
# NOWAT  _GetErrMsg                                   .72,
# NOWAT   _InitBuf                                    .73,
# NOVAC  _Lib_excpt                                   .74,
# NOWAT  _PrintErrMsg                                 .75,
# NOVAC  _ReleaseSem                                  .76,
# NOVAC  _RequestSem                                  .77,
# NOWAT  __EDC3216                                    .78,
# NOWAT  __EDCThunkProlog                             .79,
# NOWAT  __dofmto                                     .80,
# NOWAT  __doserrno                                   .81,
# NOWAT  __goscan                                     .82,
         __threadid_                                  .83,
         _assert_                                     .84,
# NOWAT  atold_                                       .85,
         _beginthread_                                .86,
         cputs_                                       .87,
# NOWAT  _ddused                                      .88,
# NOWAT  _dposqnan                                    .89,
         _ecvt_                                       .90,
         _endthread_                                  .91,
# NOWAT  erf_                                         .92,
# NOWAT  erfc_                                        .93,
# NOWAT exception_dllinit_                            .94,
# NOWAT  exception_procinit_                          .95,
         fcloseall_                                   .96,
# NOWAT  _fopenused                                   .97,
# NOWAT  fposqnan_                                    .98,
# NOWAT  fposinfi_                                    .99,
         _fpreset_                                    .100,
# NOWAT  FreeFCB_                                     .101,
# NOWAT  freemod_                                     .102,
         gcvt_                                        .103,
         getche_                                      .104,
         _heapmin_                                    .105,
# NOWAT  InitFCB_                                     .106,
# NOWAT  internal_err_                                .107,
         itoa_                                        .108,
         j0_                                          .109,
         j1_                                          .110,
         jn_                                          .111,
# NOWAT  ldposqnan_                                   .112,
# NOWAT  ldposinfi_                                   .113,
# NOWAT  loadmod_                                     .114,
         ltoa_                                        .115,
         matherr_                                     .116,
         putenv_                                      .117,
# NOWAT  setupenv_                                    .118,
# NOWAT  terminate_                                   .119,
# NOWAT  test_handle_                                 .120,
# NOVAC  _tmemory_sem                                 .121,
         tzset_                                       .122,
         ultoa_                                       .123,
         y0_                                          .124,
         y1_                                          .125,
         yn_                                          .126,
         abort_                                       .127,
         abs_                                         .128,
         asctime_                                     .129,
         atexit_                                      .130,
         atof_                                        .131,
         atoi_                                        .132,
         atol_                                        .133,
         bsearch_                                     .134,
         calloc_                                      .135,
         clearerr_                                    .136,
         clock_                                       .137,
         ctime_                                       .138,
         difftime_                                    .139,
         exit_                                        .140,
         fclose_                                      .141,
         feof_                                        .142,
         ferror_                                      .143,
         fflush_                                      .144,
         fgetc_                                       .145,
         fgetpos_                                     .146,
         fgets_                                       .147,
         flushall_                                    .148,
         fopen_                                       .149,
         fprintf_                                     .150,
         fputc_                                       .151,
         fputs_                                       .152,
         fread_                                       .153,
         free_                                        .154,
         freopen_                                     .155,
         frexp_                                       .156,
         fscanf_                                      .157,
         fseek_                                       .158,
         fsetpos_                                     .159,
         ftell_                                       .160,
         fwrite_                                      .161,
         getchar_                                     .162,
         getenv_                                      .163,
         gmtime_                                      .164,
         isalnum_                                     .165,
         isalpha_                                     .166,
         iscntrl_                                     .167,
         isdigit_                                     .168,
         isgraph_                                     .169,
         islower_                                     .170,
         isprint_                                     .171,
         ispunct_                                     .172,
         isspace_                                     .173,
         isupper_                                     .174,
         isxdigit_                                    .175,
         localeconv_                                  .176,
         localtime_                                   .177,
         malloc_                                      .178,
         memccpy_                                     .179,
         memchr_                                      .180,
         memcmp_                                      .181,
         memcpy_                                      .182,
         memicmp_                                     .183,
         memmove_                                     .184,
         memset_                                      .185,
         mktime_                                      .186,
         perror_                                      .187,
         printf_                                      .188,
         qsort_                                       .189,
         raise_                                       .190,
         rand_                                        .191,
         realloc_                                     .192,
         remove_                                      .193,
         rename_                                      .194,
         rewind_                                      .195,
         scanf_                                       .196,
         setbuf_                                      .197,
         setvbuf_                                     .198,
         signal_                                      .199,
         sprintf_                                     .200,
         srand_                                       .201,
         sscanf_                                      .202,
         strcat_                                      .203,
         strchr_                                      .204,
         strcmp_                                      .205,
         strcoll_                                     .206,
         strcpy_                                      .207,
         strcspn_                                     .208,
         strdup_                                      .209,
         strerror_                                    .210,
         strftime_                                    .211,
         stricmp_                                     .212,
         strlen_                                      .213,
         strlwr_                                      .214,
         strncat_                                     .215,
         strncmp_                                     .216,
         strncpy_                                     .217,
         strnicmp_                                    .218,
         strpbrk_                                     .219,
         strrchr_                                     .220,
         strspn_                                      .221,
         strstr_                                      .222,
         strtod_                                      .223,
         strtok_                                      .224,
         strtol_                                      .225,
# NOWAT  strtold_                                     .226,
         strtoul_                                     .227,
         strupr_                                      .228,
         strxfrm_                                     .229,
         system_                                      .230,
         tan_                                         .231,
         tanh_                                        .232,
         time_                                        .233,
         tmpfile_                                     .234,
         tmpnam_                                      .235,
         tolower_                                     .236,
         toupper_                                     .237,
         ungetc_                                      .238,
         vfprintf_                                    .239,
         vprintf_                                     .240,
         vsprintf_                                    .241,

# JBS         DefaultView_                                 .242,
         SysInfoDlgProc                               .243,
         _appname                                     .244,
         _hwndTree                                    .245,
# JBS         EndNote_                                     .246,
# JBS         StartNotes_                                  .247,
         DirSizeProc                                  .248,
         _driveflags                                  .249,
         CheckDrive_                                  .250,

# NOWAT  sprintfieee_                                 .251,

# JBS         needs_quoting_                               .252,
# JBS         ArchiveDlgProc                               .253,
# JBS         SBoxDlgProc                                  .254,
# JBS         _arcsighead                                  .255,
# JBS         _fArcStuffVisible                            .256,
# JBS         runemf2_                                     .257,
         StartFM32_                                   .258,
         _profile                                     .259,
# JBS    _hptrCommon                                  .260,
         switch_to_                                   .261,
         CheckVersion_                                .262,
         ShowMultimedia_                              .263,
         _hwndBubble                                  .264,
# JBS         GetPString_                                  .265,
# JBS         _FM3DllHandle                                .266,
         DbgMsg_                                      .267,
         HandleException                              .268,
         xDosFindFirst_                               .269,
         xDosFindNext_                                .270,
         xfree_                                       .271,
         xmalloc_                                     .272,
         Runtime_Error_                               .273

