Browse Prior Art Database

Method for Allowing Original Equipment Manufacturer DOS Setting Descriptions and Contextual Help

IP.com Disclosure Number: IPCOM000116597D
Original Publication Date: 1995-Oct-01
Included in the Prior Art Database: 2005-Mar-30
Document File: 6 page(s) / 155K

Publishing Venue

IBM

Related People

Hare, JM: AUTHOR

Abstract

Disclosed are modifications to the DOS setting dialog within OS/2*, allowing for Original Equipment Manufacturer (OEM) descriptions and contextual help display. During initialization of the DOS settings dialog, a search for *.DLL is made within directory \OS2\MDOS\VDDMRI on the root drive. The names of all such Dynamic Link Library (DLL) files are made into a linked-list in memory.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 31% of the total text.

Method for Allowing Original Equipment Manufacturer DOS Setting Descriptions
and Contextual Help

      Disclosed are modifications to the DOS setting dialog within
OS/2*, allowing for Original Equipment Manufacturer (OEM)
descriptions and contextual help display.  During initialization of
the DOS settings dialog, a search for *.DLL is made within directory
\OS2\MDOS\VDDMRI on the root drive.  The names of all such Dynamic
Link Library (DLL) files are made into a linked-list in memory.

      During the subsequent normal execution of the dialog, if a
description is not found in the hard-coded Machine-Readable
Information (MRI) resource string table, a search is made for a match
in the linked-list of all DLL files containing the template string
table.  The DLL file is loaded, and a loop searches a list of forty
possible DOS settings for a match.  If a match occurs, the ordinal
number is added to the base number for the description section of the
stringtable, and the description is retrieved and displayed in the
DOS settings dialog.  The ordinal number is also added to the base
number for the help ID number section of the stringtable, and the
help ID is retrieved and primed for the help button, to be sent by
the help manager.  The help filename is also retrieved from the
hard-coded location of the stringtable.  On the other hand, if a
match is not found in the forty entries of the stringtable, the DLL
is closed, and the next DLL in the linked list is loaded.  This
process continues until either a match is found or there are no more
DLL files in the linked-list to be processed.  If no match is found,
a blank box display occurs in the DOS settings dialog.

      The help button processing takes into account whether the OEM
filename exists in the list of help filenames to search.  If it is
not in this list, the help file manager is shut down and restarted
with the new list.  Subsequent calls to the help manager for the use
of this help file detect its existence so that no further restart
action occurs.

The following source code is used to create the DLL:
  #define INCL_WIN
  #define INCL_GPI
  #include <os2h>
  #include <oemmri.h>
  extern int.vddmristub(void);
  int vddmristub(void)
    {
    return 0;
    }
  /* OEMMRLII---IPF help file context help placements */
  #define IPF_FILENAME   100 /* stringname filename context help */
  #define IPF_01ST_INDEX 110 /* stringname number 01ST context help*/
  #define IPF_02ND_INDEX 112 /* stringname number 02ND context help*/
  #define IPF_03RD_INDEX 114 /* stringname number 03RD context help*/
  ----                    ----                     ----
  #define IPF_39TH_INDEX 186 /* stringname number 39TH context help*/
  #define IPF_40TH_INDEX 188 /* stringname number 40TH context help*/
  /* Stringtable names and string numbers */
  #define IDS_01ST_NAME     200 /* stringtable name 01ST         */
  #def...