diff options
Diffstat (limited to 'private/ntos/ndis/madge/dll')
20 files changed, 1561 insertions, 0 deletions
diff --git a/private/ntos/ndis/madge/dll/blmadge.ico b/private/ntos/ndis/madge/dll/blmadge.ico Binary files differnew file mode 100644 index 000000000..df38f5b23 --- /dev/null +++ b/private/ntos/ndis/madge/dll/blmadge.ico diff --git a/private/ntos/ndis/madge/dll/brmadge.ico b/private/ntos/ndis/madge/dll/brmadge.ico Binary files differnew file mode 100644 index 000000000..1a3a00324 --- /dev/null +++ b/private/ntos/ndis/madge/dll/brmadge.ico diff --git a/private/ntos/ndis/madge/dll/madge.ico b/private/ntos/ndis/madge/dll/madge.ico Binary files differnew file mode 100644 index 000000000..4958cd770 --- /dev/null +++ b/private/ntos/ndis/madge/dll/madge.ico diff --git a/private/ntos/ndis/madge/dll/makefile b/private/ntos/ndis/madge/dll/makefile new file mode 100644 index 000000000..14f79b701 --- /dev/null +++ b/private/ntos/ndis/madge/dll/makefile @@ -0,0 +1 @@ +!include $(NTMAKEENV)\makefile.def diff --git a/private/ntos/ndis/madge/dll/makefile.inc b/private/ntos/ndis/madge/dll/makefile.inc new file mode 100644 index 000000000..b4798f5d7 --- /dev/null +++ b/private/ntos/ndis/madge/dll/makefile.inc @@ -0,0 +1,5 @@ +mdgmpdlg.hlp: $(TARGETEXEFILES) + chmode -r mdgmpdlg.hlp + binplace mdgmpdlg.hlp + touch mdgmpdlg.hlp + chmode +r mdgmpdlg.hlp diff --git a/private/ntos/ndis/madge/dll/mdgmpdlg.c b/private/ntos/ndis/madge/dll/mdgmpdlg.c new file mode 100644 index 000000000..f0f27797f --- /dev/null +++ b/private/ntos/ndis/madge/dll/mdgmpdlg.c @@ -0,0 +1,124 @@ + +#include <ntddk.h> + +#include <stdio.h> +#include <ctype.h> + +#include "mdgmpdlg.upd" + +typedef int BOOL; +typedef unsigned long DWORD; +typedef unsigned char BYTE; + + +// +// Identification string for MVER. +// + +static char MVerString[] = MVER_STRING; + +BOOL +MadgeLAACheck(DWORD cargs, + LPSTR lpszArgs[], + LPSTR *lpszTextOut) + { + /* We are expecting one argument, a node address, and we want to parse */ + /* it, check it, and return true/false. */ + /* NB According to the book, the arguments are not Unicode, so we can */ + /* use old style routines. */ + + static char buffer[50] = ""; + BYTE nodeaddr[6] = { 0, }; + char ch; + int nibbles; + int nibble; + BOOL hyphens, hyphen; + + *lpszTextOut = buffer; + + if (cargs != 1) + { + sprintf(buffer, "MadgeLAACheck: too few arguments"); + return FALSE; + } + + /* We have the correct number of arguments, now parse it */ + + hyphens = FALSE; + hyphen = FALSE; + nibbles = 0; + + while (nibbles < 12) + { + ch = *(lpszArgs[0]++); + + /* First make sure the hyphenation of the node address is correct. */ + /* We allow either fully hyphenated or not hyphenated, but not a */ + /* mixture. */ + + if ((nibbles % 2) == 0) + { + if (nibbles == 2) + { + if (ch == '-' && !hyphen) + { + hyphens = TRUE; + hyphen = TRUE; + continue; + } + } + else + if (hyphens) + if (ch == '-') + if (!hyphen) + { + hyphen = TRUE; + continue; + } + else + break; + else + if (!hyphen) + break; + } + else + hyphen = FALSE; + + if (ch >= '0' && ch <= '9') + nibble = ch - '0'; + else if (ch >= 'A' && ch <= 'F') + nibble = ch - 'A' + 10; + else if (ch >= 'a' && ch <= 'f') + nibble = ch - 'a' + 10; + else + break; + + /* So we've got a valid nibble - now slot it into place */ + + nodeaddr[nibbles / 2] |= nibble << (nibbles % 2 ? 0 : 4); + + nibbles++; + } + + if ((nibbles != 12) || (*lpszArgs[0] != '\0' && !isspace(*lpszArgs[0]))) + { + sprintf(buffer, "Bad node address. Use xx-xx-xx-xx-xx-xx."); + return FALSE; + } + + /* We have a valid node address - just check that it is good as a LAA */ + + if ((nodeaddr[0] & 0xC0) != 0x40) + { + sprintf(buffer, "Illegal LAA (first digit must be between 4 and 7)"); + return FALSE; + } + + sprintf(buffer, "MADGE_STATUS_SUCCESS"); + + return TRUE; + } + +/*****************************************************************************/ +/* End of file. */ +/*****************************************************************************/ diff --git a/private/ntos/ndis/madge/dll/mdgmpdlg.def b/private/ntos/ndis/madge/dll/mdgmpdlg.def new file mode 100644 index 000000000..f6d51e565 --- /dev/null +++ b/private/ntos/ndis/madge/dll/mdgmpdlg.def @@ -0,0 +1,8 @@ +LIBRARY MDGMPDLG + +DESCRIPTION 'Madge Installation assist DLL' + +EXPORTS + MadgeLAACheck + +; VERSION 1.02 diff --git a/private/ntos/ndis/madge/dll/mdgmpdlg.dlg b/private/ntos/ndis/madge/dll/mdgmpdlg.dlg new file mode 100644 index 000000000..d90541aa0 --- /dev/null +++ b/private/ntos/ndis/madge/dll/mdgmpdlg.dlg @@ -0,0 +1,111 @@ +1 DLGINCLUDE "UILSTF.H" + +MDGEISA DIALOG PRELOAD 8, 23, 243, 232 +LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL +STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU +CAPTION "@Caption" +FONT 8, "MS Shell Dlg" +CLASS "mydlg" +BEGIN + PUSHBUTTON "@Continue", IDC_C, 19, 202, 40, 14 + PUSHBUTTON "@Cancel", IDC_X, 99, 202, 40, 14 + PUSHBUTTON "@Help", IDC_H, 179, 202, 40, 14 + ICON 102, 200, 183, 119, 16, 16, WS_GROUP + ICON 103, 200, 201, 119, 16, 16 + ICON 104, 200, 201, 101, 16, 16 + ICON 105, 200, 183, 101, 16, 16 + EDITTEXT IDC_EDIT1, 67, 83, 96, 12, ES_AUTOHSCROLL + LTEXT "@Edit1Label", 205, 3, 83, 50, 8 + EDITTEXT IDC_EDIT2, 67, 101, 96, 12, ES_AUTOHSCROLL + LTEXT "@Edit2Label", 206, 3, 102, 50, 8 + LTEXT "@Combo4Label", 101, 3, 140, 54, 8 + COMBOBOX IDC_COMBO4, 66, 139, 96, 50, CBS_DROPDOWNLIST | + CBS_OEMCONVERT | WS_VSCROLL | WS_TABSTOP + LTEXT "@ConsultHelp", 106, 3, 123, 159, 8, NOT WS_GROUP + LTEXT "@Combo5Label", 107, 3, 160, 100, 8 + COMBOBOX IDC_COMBO5, 109, 159, 53, 36, CBS_DROPDOWNLIST | + CBS_OEMCONVERT | WS_VSCROLL | WS_TABSTOP + LTEXT "@Combo7Label", 108, 3, 65, 100, 8 + COMBOBOX IDC_COMBO7, 110, 64, 53, 32, CBS_DROPDOWNLIST | + CBS_OEMCONVERT | WS_VSCROLL | WS_TABSTOP + COMBOBOX IDC_COMBO8, 67, 25, 96, 51, CBS_DROPDOWNLIST | + CBS_OEMCONVERT | WS_VSCROLL | WS_TABSTOP + LTEXT "@Combo8Label", 109, 3, 26, 61, 8 + LTEXT "@AdapterTitle", 110, 3, 7, 167, 8, NOT WS_GROUP + LTEXT "@OldValueTitle", 111, 173, 7, 70, 17, NOT WS_GROUP + LTEXT "@OldSlotNumber", 112, 173, 26, 64, 8, NOT WS_GROUP + LTEXT "@OldMpFlag", 113, 173, 65, 64, 8, NOT WS_GROUP + LTEXT "@Combo3Label", 114, 3, 46, 61, 8 + COMBOBOX IDC_COMBO3, 67, 45, 96, 51, CBS_DROPDOWNLIST | + CBS_OEMCONVERT | WS_VSCROLL | WS_TABSTOP + LTEXT "@OldDmaChannel", 115, 173, 46, 64, 8 + LTEXT "@Combo9Label", 116, 3, 180, 55, 8 + COMBOBOX IDC_COMBO9, 66, 179, 96, 35, CBS_DROPDOWNLIST | + CBS_OEMCONVERT | WS_VSCROLL | WS_TABSTOP +END + +MDGISA DIALOG PRELOAD 13, 23, 243, 244 +LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL +STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU +CAPTION "@Caption" +FONT 8, "MS Shell Dlg" +CLASS "mydlg" +BEGIN + PUSHBUTTON "@Continue", IDC_C, 19, 220, 40, 14 + PUSHBUTTON "@Cancel", IDC_X, 99, 220, 40, 14 + PUSHBUTTON "@Help", IDC_H, 179, 220, 40, 14 + LTEXT "@Combo2Label", 202, 3, 26, 61, 8 + COMBOBOX IDC_COMBO2, 67, 25, 96, 45, CBS_DROPDOWNLIST | + CBS_OEMCONVERT | CBS_SORT | WS_VSCROLL | WS_TABSTOP + LTEXT "@Combo1Label", 203, 3, 48, 60, 8 + COMBOBOX IDC_COMBO1, 67, 47, 96, 54, CBS_DROPDOWNLIST | + CBS_OEMCONVERT | CBS_SORT | WS_VSCROLL | WS_TABSTOP + LTEXT "@Combo3Label", 204, 3, 69, 61, 8 + COMBOBOX IDC_COMBO3, 67, 68, 96, 55, CBS_DROPDOWNLIST | + CBS_OEMCONVERT | CBS_SORT | WS_VSCROLL | WS_TABSTOP + ICON 102, 200, 183, 148, 16, 16, WS_GROUP + ICON 103, 200, 201, 148, 16, 16 + ICON 104, 200, 201, 130, 16, 16 + ICON 105, 200, 183, 130, 16, 16 + EDITTEXT IDC_EDIT1, 67, 110, 96, 12, ES_AUTOHSCROLL + LTEXT "@Edit1Label", 205, 3, 111, 62, 8 + EDITTEXT IDC_EDIT2, 67, 129, 96, 12, ES_AUTOHSCROLL + LTEXT "@Edit2Label", 206, 3, 130, 44, 8 + LTEXT "@Combo4Label", 301, 3, 161, 57, 8 + COMBOBOX IDC_COMBO4, 67, 160, 96, 48, CBS_DROPDOWNLIST | + CBS_OEMCONVERT | CBS_SORT | WS_VSCROLL | WS_TABSTOP + LTEXT "@Combo5Label", 303, 3, 181, 100, 8 + COMBOBOX IDC_COMBO5, 110, 180, 53, 36, CBS_DROPDOWNLIST | + CBS_OEMCONVERT | WS_VSCROLL | WS_TABSTOP + LTEXT "@Combo7Label", 304, 3, 90, 100, 8 + COMBOBOX IDC_COMBO7, 110, 89, 53, 36, CBS_DROPDOWNLIST | + CBS_OEMCONVERT | WS_VSCROLL | WS_TABSTOP + LTEXT "@AdapterTitle", 305, 3, 7, 167, 8, NOT WS_GROUP + LTEXT "@ConsultHelp", 306, 3, 146, 160, 8, NOT WS_GROUP + LTEXT "@OldValueTitle", 302, 173, 7, 70, 17, NOT WS_GROUP + LTEXT "@OldIoLocation", 307, 173, 26, 64, 8, NOT WS_GROUP + LTEXT "@OldIrqNumber", 308, 173, 48, 64, 8, NOT WS_GROUP + LTEXT "@OldDmaChannel", 309, 173, 69, 64, 8, NOT WS_GROUP + LTEXT "@OldMpFlag", 310, 173, 90, 64, 9, NOT WS_GROUP + LTEXT "@Combo9Label", 311, 3, 201, 62, 8 + COMBOBOX IDC_COMBO9, 67, 200, 96, 35, CBS_DROPDOWNLIST | + CBS_OEMCONVERT | WS_VSCROLL | WS_TABSTOP +END + +MDGADAPTERS DIALOG 3, 15, 229, 106 +LANGUAGE LANG_NEUTRAL, SUBLANG_DEFAULT +STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "@Caption" +FONT 8, "MS Shell Dlg" +BEGIN + PUSHBUTTON "@Continue", IDC_C, 13, 83, 40, 14 + PUSHBUTTON "@Cancel", IDC_X, 93, 83, 40, 14 + LTEXT "", 201, 5, 0, 20, 8 + LTEXT "@Combo6Label", 202, 6, 7, 215, 11 + ICON 102, 203, 183, 82, 16, 16, WS_GROUP + ICON 103, 204, 201, 82, 16, 16 + ICON 104, 205, 201, 64, 16, 16 + ICON 105, 206, 183, 64, 16, 16 + COMBOBOX IDC_COMBO6, 6, 23, 214, 76, CBS_DROPDOWNLIST | + CBS_OEMCONVERT | WS_VSCROLL | WS_TABSTOP +END diff --git a/private/ntos/ndis/madge/dll/mdgmpdlg.h b/private/ntos/ndis/madge/dll/mdgmpdlg.h new file mode 100644 index 000000000..a295b2e68 --- /dev/null +++ b/private/ntos/ndis/madge/dll/mdgmpdlg.h @@ -0,0 +1,6 @@ +/* Definitions for the icons in the dialog boxes. */ + +#define dllicon1 102 +#define dllicon2 103 +#define dllicon3 104 +#define dllicon4 105 diff --git a/private/ntos/ndis/madge/dll/mdgmpdlg.hlp b/private/ntos/ndis/madge/dll/mdgmpdlg.hlp Binary files differnew file mode 100644 index 000000000..6a5069858 --- /dev/null +++ b/private/ntos/ndis/madge/dll/mdgmpdlg.hlp diff --git a/private/ntos/ndis/madge/dll/mdgmpdlg.hpj b/private/ntos/ndis/madge/dll/mdgmpdlg.hpj new file mode 100644 index 000000000..bd87e3a7e --- /dev/null +++ b/private/ntos/ndis/madge/dll/mdgmpdlg.hpj @@ -0,0 +1,18 @@ + +[OPTIONS] +CONTENTS=Contents +COMPRESS=YES +TITLE=Madge Smart Ringnode Driver + +[FILES] +mdgmpdlg.rtf + +[CONFIG] +BrowseButtons() + +[MAP] +Contents 6000 +Madge_ISA_Dialog 6001 +Madge_EISA_MCA_Dialog 6002 +Madge_PCI_Dialog 6003 +
\ No newline at end of file diff --git a/private/ntos/ndis/madge/dll/mdgmpdlg.rc b/private/ntos/ndis/madge/dll/mdgmpdlg.rc new file mode 100644 index 000000000..abc16d8da --- /dev/null +++ b/private/ntos/ndis/madge/dll/mdgmpdlg.rc @@ -0,0 +1,36 @@ +#include <windows.h> + +#include <ntverp.h> + +#include "mdgmpdlg.upd" + +#undef VER_COMPANYNAME_STR +#undef VER_PRODUCTNAME_STR +#undef VER_PRODUCTVERSION +#undef VER_PRODUCTVERSION_STR + +#define VER_FILETYPE VFT_DLL +#define VER_FILESUBTYPE VFT2_DRV_NETWORK +#define VER_COMPANYNAME_STR "Madge Networks Ltd" +#define VER_PRODUCTNAME_STR "Madge Networks Smart 16/4 Ringnode Driver" +#define VER_FILEDESCRIPTION_STR "Madge Installation Dialog" +#define VER_INTERNALNAME_STR "MdgMPDlg.dll" + +#define VER_LEGALCOPYRIGHT_YEARS "1994" +#define VER_LEGALCOPYRIGHT_STR "Copyright (C) Madge Networks Ltd " VER_LEGALCOPYRIGHT_YEARS +#define VER_FILEVERSION MADGE_DLL_VERSION +#define VER_FILEVERSION_STR MADGE_DLL_VERSION_STR +#define VER_PRODUCTVERSION MADGE_NT_VERSION +#define VER_PRODUCTVERSION_STR MADGE_NT_VERSION_STR + +#include <common.ver> + +#include "uilstf.h" +#include "mdgmpdlg.h" + +dllicon4 ICON "tlmadge.ico" +dllicon1 ICON "blmadge.ico" +dllicon2 ICON "brmadge.ico" +dllicon3 ICON "trmadge.ico" + +#include "mdgmpdlg.dlg" diff --git a/private/ntos/ndis/madge/dll/mdgmpdlg.res b/private/ntos/ndis/madge/dll/mdgmpdlg.res Binary files differnew file mode 100644 index 000000000..8a2160c4a --- /dev/null +++ b/private/ntos/ndis/madge/dll/mdgmpdlg.res diff --git a/private/ntos/ndis/madge/dll/mdgmpdlg.rtf b/private/ntos/ndis/madge/dll/mdgmpdlg.rtf new file mode 100644 index 000000000..c3277fde8 --- /dev/null +++ b/private/ntos/ndis/madge/dll/mdgmpdlg.rtf @@ -0,0 +1,307 @@ +{\rtf1\ansi +\deff0\deflang1024 +{\fonttbl +{\f0\froman Times New Roman;} +{\f1\froman Symbol;} +{\f2\fswiss Arial;} +{\f3\froman ;}} +{\colortbl; +\red0\green0\blue0; +\red0\green0\blue255; +\red0\green255\blue255; +\red0\green255\blue0; +\red255\green0\blue255; +\red255\green0\blue0; +\red255\green255\blue0; +\red255\green255\blue255; +\red0\green0\blue127; +\red0\green127\blue127; +\red0\green127\blue0; +\red127\green0\blue127; +\red127\green0\blue0; +\red127\green127\blue0; +\red127\green127\blue127; +\red192\green192\blue192;} +{\stylesheet +{\s242\tqc\tx4320\tqr\tx8640 \fs20\lang2057 \sbasedon0\snext242 footer;} +{\s244 \fs16\up6\lang2057 \sbasedon0\snext0 footnote reference;} +{\s245 \fs20\lang2057 \sbasedon0\snext245 footnote text;} +{\fs20\lang2057\snext0 Normal;}} +{\info +{\author Paul Austin} +{\creatim\yr1994\mo2\dy9\hr16\min56} +{\version1} +{\edmins977} +{\nofpages0} +{\nofwords0} +{\nofchars0} +{\vern16504}} +\paperw12240\paperh15840\margl1800\margr1800\margt1440\margb1440\gutter0 \makebackup \sectd +\pard\plain \keepn \fs20\lang2057 +#{\footnote \pard\plain \s245 \fs20\lang2057 Contents} +${\footnote \pard\plain \s245 \fs20\lang2057 Contents} ++{\footnote madgehelp:01} +K{\footnote Contents} +\pard \keepn \par {\plain\b Madge Smart 16/4 Ringnode NDIS3 Driver Help} +\par \pard +\par\plain Help is available on the following topics : \par\par\tx360 +\tab{\uldb Madge Smart 16/4 ISA Ringnode Configuration}{\v Madge_ISA_Dialog}\line +\tab{\uldb Madge Smart 16/4 EISA and MCA Ringnode Configuration}{\v Madge_EISA_MCA_Dialog}\line +\tab{\uldb Madge Smart 16/4 PCI Ringnode Configuration}{\v Madge_PCI_Dialog}\line +\tab{\uldb Locally Administered Addresses}{\v locally_administered_address}\line +\tab{\uldb Maximum Frame Sizes}{\v max_frame_size}\line +\tab{\uldb Rx/Tx Buffers}{\v rx_tx_slots}\line +\tab{\uldb Traffic Statistics Gathering}{\v stats}\line +\par\pard\page +#{\footnote \pard\plain \fs20\lang2057 Madge_ISA_Dialog} +${\footnote \pard\plain \fs20\lang2057 Madge Smart 16/4 ISA Ringnodes Help} ++{\footnote madgehelp:02} +K{\footnote ISA Bus Cards; AT Bus Cards} +\keepn\par{\plain\b Madge Smart 16/4 Ringnode ISA Configuration Dialog} +\par\pard\sb200 +This dialog allows you to configure the Madge Smart 16/4 Ringnode Driver to + work with any Madge ISA bus adapters that you have installed. + You should set the switches on the cards as directed in the documentation + that accompany them, being careful to avoid conflicts with other devices + in the system. +\par +The driver must then be told how each card has been configured, using + this dialog for each one. + You must set the {\ul IO Location}{\v io_location}, the {\ul IRQ Level}{\v irq_channel}, + and the {\ul Transfer method}{\v dma_channel} to match the switch settings on + the card. + If you have disabled DMA, or the adapter card does not support + DMA, then for transfer method select {\i PIO}. + Otherwise select the DMA channel for which your adapter is configured. +\par +If you chose automatic Smart Ringnode installation then some or all + of the settings may have been automatically determined. + Settings that have been determined will be shown on the right of the dialog + box under the headering "Current hardware settings". + Any settings that are not shown as {\i UNKNOWN} should not need changing. + Those that are shown as {\i UNKNOWN} must be manually set to match the + values set by the switches on the adapter. +\par +If the machine you are installing the driver on only has one processor + then you should set the {\i Number of processors in PC} value to {\i one}. + If the machine is a multi-processor then this value should be set to + {\i multiple}. +\par +The remaining fields in the dialog are optional and allow modification + of the behaviour of the + adapter card. The driver will work quite happily if they are not touched, + however. For further details, see the following topics : +\par\tx360\tab{\uldb Maximum Frame Size}{\v max_frame_size}\line +\tab{\uldb Locally Administered Addresses}{\v locally_administered_address}\line +\tab{\uldb Rx/Tx Buffers}{\v rx_tx_slots}\line +\tab{\uldb Traffic Statistics Gathering}{\v stats} +\par \pard \page +#{\footnote \pard\plain \s245 \fs20\lang2057 Madge_EISA_MCA_Dialog} +${\footnote \pard\plain \s245 \fs20\lang2057 Madge Smart 16/4 EISA and MCA Ringnodes Help} ++{\footnote madgehelp:03} +K{\footnote EISA Bus Cards; MicroChannel Cards; MCA Cards} +\pard \keepn\par{\plain\b Madge Smart 16/4 Ringnode EISA and MCA Configuration Dialog} +\par\pard\sb200\tx360 +This dialog allows you to configure the Madge Smart 16/4 Ringnode Driver to + work with any Madge EISA bus or Madge MCA bus adapters that you have + installed. + An EISA or MC adapter is identified by the number of the slot containing + the adapter. + This should be printed on the back of the machine near where the lobe + cable is plugged into the adapter. +\par +If you chose automatic Smart Ringnode installation then this + setting should have been automatically determined. + Settings that have been determined will be shown on the right of the + dialog box under the headering "Current hardware settings". + Any settings that are not shown as {\i UNKNOWN} should not need changing. +\par +If the machine you are installing the driver on only has one processor + then you should set the {\i Number of processors in PC} value to {\i one}. + If the machine is a multi-processor then this value should be set to + {\i multiple}. +\par +The remaining fields in the dialog are optional and allow modification + of the behaviour of the + adapter card. The driver will work quite happily if they are not touched, + however. For further details, see the following topics : +\par\tx360\tab{\uldb Maximum Frame Size}{\v max_frame_size}\line +\tab{\uldb Locally Administered Addresses}{\v locally_administered_address}\line +\tab{\uldb Rx/Tx Buffers}{\v rx_tx_slots}\line +\tab{\uldb Traffic Statistics Gathering}{\v stats} +\par \pard \page +#{\footnote \pard\plain \s245 \fs20\lang2057 Madge_PCI_Dialog} +${\footnote \pard\plain \s245 \fs20\lang2057 Madge Smart 16/4 PCI Ringnodes Help} ++{\footnote madgehelp:04} +K{\footnote PCI Bus Cards} +\pard \keepn\par{\plain\b Madge Smart 16/4 Ringnode PCI Configuration Dialog} +\par\pard\sb200\tx360 +This dialog allows you to configure the Madge Smart 16/4 Ringnode Driver to + work with any Madge PCI bus adapters that you have installed. + PCI adapters are identified by the {\i PCI Device Number}. + This value is assigned to the adapter by the PCI BIOS when the PC is + powered up or reset. + If you do not have a way of determining the PCI Device Number of your + Madge PCI Ringonde(s) (some manufacturer's configuration utilities provide + this information) then it is recommended that you set the PCI Device + Number setting to {\i UNKNOWN}. + If the Madge NDIS3 Miniport driver is installed with the PCI Device Number + setting set to {\i UNKNOWN} then when the driver starts it searches for + the Madge PCI Ringnode with the lowest PCI Device Number that is not + already in use. +\par +Many PCs and workstations have numbers marked on their PCI slots and it + is common for the PCI Device Numbers assigned to PCI adapters to increase + with the slot numbers. + (Though it is unlikely that the PCI Device Numbers will be the same as + the slot numbers.) + Therefore, if the Madge NDIS3 Miniport driver is installed for multiple + Madge PCI Ringnodes and all of the PCI Device Numbers are set to + {\i UNKNOWN}, it is quite likely that the first installation will be for + the Madge PCI Ringnode in the lowest number slot, the second installation + for the Madge PCI Ringnode in the second lowest numbered slot and so on. +\par +Smart 16/4 PCI Ringnodes support two {\ul Transfer methods}{\v dma_channel}. + The extremely high performance MMIO method and the PIO method. + Normally you should select {\i MMIO} for the transfer method. + However, if you have experienced problems using the MMIO method + then select {\i PIO}. + (You may experience problems with MMIO in certain PCI PC's or with + certain combinations of PCI adapters.) +\par +Smart 16/4 PCI Ringnodes (BM) also support + two {\ul Transfer methods}{\v dma_channel}. + Bus Master DMA and PIO. + Normally you should select {\i DMA} for the transfer method. +\par + If the machine you are installing the driver on only has one processor + then you should set the {\i Number of processors in PC} value to {\i one}. + If the machine is a multi-processor then this value should be set to + {\i multiple}. +\par +The remaining fields in the dialog are optional and allow modification + of the behaviour of the + adapter card. The driver will work quite happily if they are not touched, + however. For further details, see the following topics : +\par\tx360\tab{\uldb Maximum Frame Size}{\v max_frame_size}\line +\tab{\uldb Locally Administered Addresses}{\v locally_administered_address}\line +\tab{\uldb Rx/Tx Buffers}{\v rx_tx_slots}\line +\tab{\uldb Traffic Statistics Gathering}{\v stats} +\par \pard \page +#{\footnote \pard\plain \fs20\lang2057 max_frame_size} +${\footnote \pard\plain \fs20\lang2057 Maximum Frame Size} ++{\footnote madgehelp:05} +K{\footnote Maximum Frame Size; MFS} +\pard\keepn\par{\plain\b Maximum Frame Size} +\par\pard +\sb200\plain +On a sixteen megabits per second token ring, the adapter card can send and + receive frames up to 17839 bytes in length. For many applications this may + be too big, so a facility is provided to limit the size of frames sent onto + the ring. On a four megabits per second token ring the maximum frame size is + nearer four and a half thousand bytes. By default, the driver will use a frame + size of 4096 bytes, but you + can edit the {\i MaxFrameSize} control to set it to a larger + (or indeed smaller) value. +\par Note that if you set a value which is too big, the software will + automatically truncate it, and write an error into the event log that + contains as one of the data words the actual maximum frame size. +\par Note also that if you know how big the frames used by higher + layer prototocols are going to be, you should set the driver maximum + frame size accordingly to enable it to make more efficient use of its + buffer space. +\par\pard {\plain \lang2057 \page } +#{\footnote \pard\plain \s245 \fs20\lang2057 locally_administered_address} +${\footnote \pard\plain \s245 \fs20\lang2057 Locally Administered Address} ++{\footnote madgehelp:06} +K{\footnote LAA; Locally Adminstered Address} +\pard\keepn\par{\plain\b Locally Administered Addresses}\par\pard +\sb200 +Every network adapter card has a unique six byte address encoded in it + which it uses in network frames to identify itself. It is possible + to override the address that the adapter recognises as its own by + setting the {\b Locally Administered Address}. + As the name suggests, this is locally administered, and so cannot + be guaranteed unique - it is up to the network manager to ensure this. +\par The {\i LAA} can be set to any six byte value at all, as long + as the first digit is somewhere between four and seven (i.e. the + first two binary bits of the address must be "01"). Other than that, + there are no restrictions on its value. + In setting it, it can be entered as either a string of twelve contiguous + hexadecimal digits, or it can be entered as a sequence of six pairs + of hexadecimal digits separated by "-" (minus) characters\line +e.g. 40-01-02-03-04-05. +\par Normally, the {\b LAA} need not be set, but certain pieces of + communications software do use this facility. +\page +#{\footnote \pard\plain \s245 \fs20\lang2057 rx_tx_slots} +${\footnote \pard\plain \s245 \fs20\lang2057 Rx/Tx Buffers} ++{\footnote madgehelp:07} +K{\footnote Rx/Tx Buffers} +\pard\keepn\par{\plain\b Rx/Tx Buffers}\par\pard +\sb200 +MdgMPort associates a pool of receive (Rx) and transmit (Tx) buffers with each + adapter card installed. + The default value of 4 receive buffers and 4 transmit buffers has been + chosen to be optimal for a '486' class machine being used as a workstation. + If you have a machine that will be used as a server or is a high performance + RISC platform then you may wish to increase the number of receive and + transmit buffers. However, be warned that increasing the number + of buffers increases MdgMPort's use of memory, which may cause problems + if there are multiple adapters in the machine. +\page +#{\footnote \pard\plain \s245 \fs20\lang2057 stats} +${\footnote \pard\plain \s245 \fs20\lang2057 Traffic Statistics Gathering} ++{\footnote madgehelp:08} +K{\footnote Traffic Statistics Gathering} +\pard\keepn\par{\plain\b Traffic Statistics Gathering}\par\pard +\sb200 +The Madge NDIS3 Miniport driver can support products that gather statistics on, + and analyse network traffic. + To enable this support select the "enabled" option. + Unfortunately enabling this support results in the computer having to perform + much more network processing and performance may be degraded. + Madge therefore recommend that unless you must have this support you + set the option to "disabled". +\page +#{\footnote \pard\plain \fs20\lang2057 io_location} +\plain The {\i IO Location} specifies the address of a range of I/O ports + used to communicate with the adapter card. + These must not conflict with any other device in the system, including + other network adapter cards. +\par\page +#{\footnote \pard\plain \fs20\lang2057 irq_channel} +\plain The {\i Interrupt Level} is how the adapter card is identified + when it interrupts the host. + For each Interrupt Level that is in use in the system, there will be a + handler to attend to the device's needs. +\par\page +#{\footnote \pard\plain \fs20\lang2057 dma_channel} +\plain The {\i Transfer method} is used to indicate what method + an adapter should use to transfer data to and from host memory. +\par + Some adapters support bus master DMA and do not required a specific + channel to be identified; in which case {\i DMA} can be specified as the + transfer method. + Other adapters may support bus master DMA but require a particular + DMA channel to be identified. + In this case {\i DMA Channel nn} can be specified for the transfer method. + {\i nn} is the number of the DMA channel for which the adapter is + configured (by switches on older adapters or the DIAG configuration + utility on newer adapters). +\par +An alternative transfer method is {\i PIO} (Programmed I/O) + which causes the card to interrupt the host when it wants to perform + a transfer. + The host then reads/writes one of the IO Locations repeatedly + until the transfer is complete. + This transfer method is supported by all adapter types except for + EISA and MC. + {\i PIO} can be used if an adapter does not support DMA or DMA has been + disabled by switches on the adapter or the configuration utility. +\par +A final transfer method is {\i MMIO} (Memory Mapped I/O) which is similar + to but faster than {\i PIO}. +\par\page +} +
\ No newline at end of file diff --git a/private/ntos/ndis/madge/dll/mdgmpdlg.upd b/private/ntos/ndis/madge/dll/mdgmpdlg.upd new file mode 100644 index 000000000..bd926863d --- /dev/null +++ b/private/ntos/ndis/madge/dll/mdgmpdlg.upd @@ -0,0 +1,181 @@ +/*************************************************************************** +* +* MDGMPDLG.UPD: MdgMPDlg (MdgMPort.SYS install helper DLL) update history. +* +* Copyright (c) Madge Networks Ltd. 1994 +* +* Created: PBA 23/06/1994 +* +***************************************************************************/ + +#include "..\driver\mdgmport.upd" + +#define MADGE_DLL_VERSION 3,04,30,00 +#define MADGE_DLL_VERSION_STR "3.04.30" +#define MADGE_DLL_NAME "MdgMPDlg" + +#define _DRIVER_DESC MADGE_NT_NAME##" "##MADGE_NT_VERSION_STR +#define _DLL_DESC MADGE_DLL_NAME##" "##MADGE_DLL_VERSION_STR + +// +// Identification string for MVER. +// + +#ifdef MVER_STRING +#undef MVER_STRING +#endif + +#define MVER_STRING "VeRsIoN="##_DLL_DESC##" (for "##_DRIVER_DESC##")" + + +/*--------------------------------------------------------------------------- +| +| Update History. +| +|--------------------------------------------------------------------------- + + 3.04.30 10/10/1995 PBA + + Source to be shipped to Microsoft. This is the LSS 4.31 + build with support added for non-intel platforms. + + 3.04.01-.29 Reserved for 4.3(1) maintanance. + + 3.04 21/07/1995 PBA + + Re-released for 4.3(1) with PCI-TI DMA/DIO fix. + + 3.03.01-.49 Reserved for 4.3(1) maintanance. + + 3.03 30/06/1995 PBA + + Hardware thread released for LSS 4.3(1) with support + for PCI-TI adapters and untested support for PCI-Abyss + adapters. + + 3.02 Used for non-intel thread derived from LSS 4.3(0). + + 3.01.02 07/04/1995 PBA + + Unchanged maintenance build. + + 3.01.01 04/04/1995 PBA + + Power PC build. + + + 3.01.02 - .49 Reserved for 4.3(0 and/or PnP) maintenance. + + 3.01 02/02/1995 PBA + + Released for 4.3(0 and/or PnP). All previous 4.3(x) + threads are now dead. + + MDGMPORT 2.01. + + 3.00.53 02/02/1995 PBA + + Given to DaveF for Chicago testing and possible + shipment to Microsoft for M8 and/or NT 3.51. + MDGMPORT 2.00.61. + + 3.00.52 24/01/1995 PBA + + Added support for setting the ring speed. + + 3.00.51 06/01/1995 PBA + + Shipped source to FrancisT so that he could do a MIPs + build. + + 3.00.50 15/12/1994 PBA + + Live development continues. + + Version numbers 2.50.01 to 2.99.99 are used for a FastMAC version. + + 2.02.01 - .49 Reserved for release 4.3(1) maintenance. + + Version number 2.02 is reserved for use in the 4.3(1) release. Live + development continues with 2.02.50. + + 2.01.50 15/12/1994 PBA + + Alpha release for product marketing to test. For use + with MDGMPORT 1.05.07. + + 2.01.01 - .49 Reserved for release 4.3(0) maintenance. + + Due the delay in getting the 4.3(0) release out it was decided to use + the new installtion software for 4.3(0). Version number 2.01 is + reserved for this. Live development continues with 2.01.50. + + 2.00.03 25/11/1994 PBA + + Added support for "Transfer method" for all adapters. + + -- Special ----------------------------------------------------------------- + + 2.00.02a 11/01/1995 PBA + + As 2.00.02 but has support for PCMCIA adapters. Shipped + to Jameel Hyder at Microsoft for NT 3.51 beta. + MDGMPORT 1.06.80. + + ---------------------------------------------------------------------------- + + 2.00.02 23/11/1994 PBA + + Shipped to Microsoft for possible inclusion in the next + NT release. MDGMPORT v1.06.50. + + 2.00.01 21/09/1994 PBA + + Major changes to support NetDetect based installation. + No PCI support at the moment. + + 1.04 Reserved for release 4.3(1). + + 1.03 08/11/1994 PBA + + Re-released for the PCI release 4.2(3). MdgMPort.SYS + version 1.04. + + 1.02 28/09/1994 PBA + + Released for the PCI release 4.2(3). MdgMPort.SYS + version 1.03. + + 1.01.50 28/09/1994 PBA + + Added a new dialog box for PCI. + + Due to the problems with FastMAC Plus a re-release with a new FastMAC + plus image will be needed for LSS 4.30. This release will be based on + 1.01.02 which is the same as the earlier LSS 4.30 with some minor bug + fixes. Live development continues with 1.01.50. + + 1.01.02 02/09/1994 PBA + + Dialog box now has support for enabling promiscuous mode. + + 1.01.01 31/08/1994 PBA + + Source shipped to Microsoft. + + 1.01 22/07/1994 PBA + + Released for 4.30 for MdgMPort.SYS 1.01. + + 1.00.01 23/06/1994 PBA + + First version derived from MDGNTDLG v1.04.01. + +---------------------------------------------------------------------------*/ + +/******** End of MDGMPDLG.UPD **********************************************/ + + + + +
\ No newline at end of file diff --git a/private/ntos/ndis/madge/dll/oemsetup.upd b/private/ntos/ndis/madge/dll/oemsetup.upd new file mode 100644 index 000000000..57bbaf58c --- /dev/null +++ b/private/ntos/ndis/madge/dll/oemsetup.upd @@ -0,0 +1,241 @@ +/*************************************************************************** +* +* OEMSETUP.UPD: Update log for the MdgMPort.SYS OEMSETUP.INF file. +* +* Copyright (c) Madge Networks Ltd. 1994 +* +* Created: PBA 23/06/1994 +* +***************************************************************************/ + +/*-------------------------------------------------------------------------- + + 3.04.30 10/10/1995 PBA + + Source to be shipped to Microsoft. This is the LSS 4.31 + build with support added for non-intel platforms. + + 3.04.01-.29 Reserved for 4.3(1) maintanance. + + 3.04 21/07/1995 PBA + + Re-released for 4.3(1) with PCI-TI DMA/DIO fix. + + 3.03.01-.49 Reserved for 4.3(1) maintanance. + + 3.03 30/06/1995 PBA + + Hardware thread released for LSS 4.3(1) with support + for PCI-TI adapters and untested support for PCI-Abyss + adapters. + + 3.01.02 07/04/1995 PBA + + Added 0x0300 to the list of IO locations for PCMCIA + adapters. + + 3.01.01 04/04/1995 PBA + + Added PCMCIA support back in. MDGMPORT 2.01.01. + Power PC build. + + + 3.01.02 - .49 Reserved for 4.3(0 and/or PnP) maintenance. + + 3.01 02/02/1995 PBA + + Removed PCMCIA support just for this version as the + rest of the world doesn't know about NT 3.51 PCMCIA + support. + + Released for 4.3(0 and/or PnP). All previous 4.3(x) + threads are now dead. + + MDGMPORT 2.01. + + 3.00.55 02/02/1995 PBA + + Given to DaveF for Chicago testing and possible + shipment to Microsoft for M8 and/or NT 3.51. + MDGMPORT 2.00.61. + + 3.00.54 01/02/1995 PBA + + Now add an "AdapterType" to the registry for all adapter + types. + + 3.00.53 31/01/1995 PBA + + Added support for PCMCIA. I.e. now supports "IoBaseAddress" + as well as "IoLocation" and adds "AdapterType = 200" and + "Pcmcia = 1" to the registry. + + 3.00.52 24/01/1995 PBA + + Added support for setting the ring speed. + + 3.00.51 06/01/1995 PBA + + Shipped source to FrancisT so he could do a MIPs build. + + 3.00.50 15/12/1994 PBA + + Live development continues. + + Version numbers 2.50.01 to 2.99.99 are used for a FastMAC version. + + 2.02.01 - .49 Reserved for release 4.3(1) maintenance. + + Version number 2.02 is reserved for use in the 4.3(1) release. Live + development continues with 2.02.50. + + 2.01.50 15/12/1994 PBA + + ALpha release for product marketing to test. For use with + MDGMPORT 1.05.07. + + 2.01.01 - .49 Reserved for release 4.3(0) maintenance. + + Due the delay in getting the 4.3(0) release out it was decided to use + the new installtion software for 4.3(0). Version number 2.01 is + reserved for this. Live development continues with 2.01.50. + + 2.00.09 25/11/1994 PBA + + Removed PCI and PnP support for a special version + for the "frozen" release 4.3(0) thread. + + 2.00.08 25/11/1994 PBA + + The detection DLL now completely describes the transfer + mode (DMA, PIO, MMIO) in the DmaChannel value. The + The DmaChannel and NoMmio values in the registry are + used to specify the transfer mode. We now translate between + the two schemes and allow the user to enable and disable + MMIO in a way that is consistent with choosing PIO or DMA. + + 2.00.07 24/11/1994 PBA + + Tidied up the code that sets default values if adapters + were not auto-detected. + + 2.00.06 24/11/1994 PBA + + Added support for PCI adapters. + + -- Special ----------------------------------------------------------------- + + 2.00.05a 11/01/1995 PBA + + As 2.00.05 but has support for PCMCIA adapters. Shipped + to Jameel Hyder at Microsoft for NT 3.51 beta. + MDGMPORT 1.06.80. + + ---------------------------------------------------------------------------- + + 2.00.05 23/11/1994 PBA + + Shipped to Microsoft for possible inclusion in the + next NT release. MDGMPORT v1.06.50. + + 2.00.04 23/11/1994 PBA + + Added support for ISA PnP adapters. + + 2.00.03 22/11/1994 PBA + + Changed the RX/TX slot list to range from 2/2 to 10/10 + to try and alleviate Microsoft's multi-adapter problems. + + 2.00.02 21/10/1994 PBA + + Changed the RX/TX slot default to 4/4 to try and alleviate + some of Microsoft's multi-adapter memory problems. + + 2.00.01 20/09/1994 PBA + + Major re-write to use our NetDetect DLL. + No PCI support at the moment. + + 1.05 Reserved for release 4.3(1) + + 1.04 08/11/1994 PBA + + Re-release for PCI release 4.2(3). MdgMPort.SYS + version 1.03. + + 1.03 28/09/1994 PBA + + Released for the PCI release 4.2(3). MdgMPort.SYS + version 1.03. + + 1.02.50 28/09/1994 PBA + + Added support for PCI. + + Due to the problems with FastMAC Plus a re-release with a new FastMAC + plus image will be needed for LSS 4.30. This release will be based on + 1.02.02 which is the same as the earlier LSS 4.30 with some minor bug + fixes. Live development continues with 1.02.50. + + 1.02.02 02/09/1994 PBA + + Added support for setting promiscuous mode from the + dialog box. + + 1.02.01 31/08/1994 PBA + + Source shipped to Microsoft. + + 1.02 24/08/1994 PBA + + Re-released for 4.3. For use with MdgMPort.SYS v1.02. + + 1.01.03 16/08/1994 PBA + + Re-arranged the order of some of the sections and arranged + for all of the files to be copied in one go rather than + DLL and HELP and then driver later. Also set the file + sizes accurately in the file sections. Hopefully this may + make the file work under MCL's build of Daytona. + + 1.01.02 15/08/1994 PBA + + It looks possible that under later builds of Daytona we + may be called with DoCopy set to NO. To make sure we copy + the help and DLL files we ignore the value of DoCopy and + always do the copy. + + 1.01.01 10/08/1994 PBA + + Now has a multiprocessor PIO option. + + 1.01 22/07/1994 PBA + + Released for 4.30 for MdgMPort.SYS 1.01. + + 1.00.04 19/07/1994 PBA + + Increased the default maximum frame size to 4096 bytes. + + 1.00.03 11/07/1994 PBA + + Fixed bug where the MCA adapter enumeration code did not + merge two lists properly so if there where MC16 and MC32 + adapters present the installation didn't work properly. + + 1.00.02 28/06/1994 PBA + + Fixed update option. Now copies .dll and .hlp files as + well as binaries. Displays error message if user tries + to update the hardware. + + 1.00.01 23/06/1994 PBA + + First version derived from 1.01.02 for MdgNT.SYS. + +--------------------------------------------------------------------------*/ + +/******** End of OEMSETUP.UPD *********************************************/ + +
\ No newline at end of file diff --git a/private/ntos/ndis/madge/dll/sources b/private/ntos/ndis/madge/dll/sources new file mode 100644 index 000000000..192a7f7cf --- /dev/null +++ b/private/ntos/ndis/madge/dll/sources @@ -0,0 +1,42 @@ +!if 0 + + Copyright (C) 1992-1995 by Digital Equipment Corporation + +Module Name: + + sources. + +Abstract: + + This file specifies the MADGE NDIS3 miniport driver being built + and the list of sources files needed to build it. + It specifies also the compiler switches specific to this driver + +Author: + +!endif + +TARGETNAME=MDGMPDLG +TARGETTYPE=DYNLINK + +TARGETPATH=$(BASEDIR)\public\sdk\lib +TARGETLIBS=$(BASEDIR)\public\sdk\lib\*\kernel32.lib + +INCLUDES=..\..\..\inc;$(BASEDIR)\public\sdk\inc +C_DEFINES=$(C_DEFINES) -DNDIS_NT=1 + +#MSC_WARNING_LEVEL=/W3 /WX +MSC_WARNING_LEVEL=/W3 + +SOURCES=mdgmpdlg.c \ + mdgmpdlg.rc + +DLLBASE=0x1C000000 + +DLLENTRY=_CRT_INIT + +USE_CRTDLL=1 # (link with crtdll.lib) + +MAKEDLL=1 + +NTTARGETFILES=mdgmpdlg.hlp diff --git a/private/ntos/ndis/madge/dll/tlmadge.ico b/private/ntos/ndis/madge/dll/tlmadge.ico Binary files differnew file mode 100644 index 000000000..50d82343b --- /dev/null +++ b/private/ntos/ndis/madge/dll/tlmadge.ico diff --git a/private/ntos/ndis/madge/dll/trmadge.ico b/private/ntos/ndis/madge/dll/trmadge.ico Binary files differnew file mode 100644 index 000000000..6d650c9fd --- /dev/null +++ b/private/ntos/ndis/madge/dll/trmadge.ico diff --git a/private/ntos/ndis/madge/dll/uilstf.h b/private/ntos/ndis/madge/dll/uilstf.h new file mode 100644 index 000000000..562975e2c --- /dev/null +++ b/private/ntos/ndis/madge/dll/uilstf.h @@ -0,0 +1,481 @@ +/***************************************************************************/ +/*********************** include file for UI Library *********************/ +/***************************************************************************/ + +#define STF_MESSAGE (WM_USER + 0x8000) + +/* +** Window Messages +*/ +_dt_public +#define STF_UI_EVENT (STF_MESSAGE) +_dt_public +#define STF_DESTROY_DLG (STF_MESSAGE + 1) +_dt_public +#define STF_HELP_DLG_DESTROYED (STF_MESSAGE + 2) +_dt_public +#define STF_INFO_DLG_DESTROYED (STF_MESSAGE + 3) +_dt_public +#define STF_EDIT_DLG_DESTROYED (STF_MESSAGE + 4) +_dt_public +#define STF_RADIO_DLG_DESTROYED (STF_MESSAGE + 5) +_dt_public +#define STF_CHECK_DLG_DESTROYED (STF_MESSAGE + 6) +_dt_public +#define STF_LIST_DLG_DESTROYED (STF_MESSAGE + 7) +_dt_public +#define STF_MULTI_DLG_DESTROYED (STF_MESSAGE + 8) +_dt_public +#define STF_QUIT_DLG_DESTROYED (STF_MESSAGE + 9) +_dt_public +#define STF_DLG_ACTIVATE (STF_MESSAGE + 10) +_dt_public +#define STF_UILIB_ACTIVATE (STF_MESSAGE + 11) +_dt_public +#define STF_REINITDIALOG (STF_MESSAGE + 12) +_dt_public +#define STF_SHL_INTERP (STF_MESSAGE + 13) +_dt_hidden +#define STF_COMBO_DLG_DESTROYED (STF_MESSAGE + 14) +_dt_hidden +#define STF_MULTICOMBO_DLG_DESTROYED (STF_MESSAGE + 15) +_dt_hidden +#define STF_DUAL_DLG_DESTROYED (STF_MESSAGE + 16) +_dt_hidden +#define STF_MULTICOMBO_RADIO_DLG_DESTROYED (STF_MESSAGE + 17) +_dt_hidden +#define STF_MAINT_DLG_DESTROYED (STF_MESSAGE + 18) + + +_dt_hidden +#define STF_SET_INSTRUCTION_TEXT (STF_MESSAGE + 0x100) + +_dt_hidden +#define STF_SET_HELP_CONTEXT (STF_MESSAGE + 0x101) + +_dt_hidden +#define STF_ENABLE_EXIT_BUTTON (STF_MESSAGE + 0x102) + +_dt_hidden +#define STF_ERROR_ABORT (STF_MESSAGE + 0x103) + + + + +// +// Button IDS to communicate help and exit button messages to shell +// +#define ID_EXITBUTTON 7 +#define ID_HELPBUTTON 8 + + +/* +** Symbols used by Basic Dialog Class procedures +*/ + +#define CLS_MYDLGS "mydlg" +#define DLGTEXT "DlgText" +#define DLGCAPTION "Caption" +#define DLGTYPE "DlgType" +#define DLGTEMPLATE "DlgTemplate" + + + +#define INSTRUCTIONTEXT "InstructionText" +#define HELPCONTEXT "HelpContext" +#define EXITSTATE "ExitState" + +#define EXIT_ENABLE "Active" +#define EXIT_DISABLE "Inactive" + + +/* +** PushButton Control IDs +*/ +_dt_public +#define IDC_A 401 +_dt_public +#define IDC_B 402 +_dt_public +#define IDC_C 403 +_dt_public +#define IDC_D 404 +_dt_public +#define IDC_E 405 +_dt_public +#define IDC_F 406 +_dt_public +#define IDC_G 407 +_dt_public +#define IDC_H 408 +_dt_public +#define IDC_I 409 +_dt_public +#define IDC_J 410 +_dt_public +#define IDC_K 411 +_dt_public +#define IDC_L 412 +_dt_public +#define IDC_M 413 +_dt_public +#define IDC_N 414 +_dt_public +#define IDC_O 415 +_dt_public +#define IDC_P 416 +_dt_public +#define IDC_Q 417 +_dt_public +#define IDC_R 418 +_dt_public +#define IDC_S 419 +_dt_public +#define IDC_T 420 +_dt_public +#define IDC_U 421 +_dt_public +#define IDC_V 422 +_dt_public +#define IDC_W 423 +_dt_public +#define IDC_X 424 +_dt_public +#define IDC_Y 425 +_dt_public +#define IDC_Z 426 + + +/* +** Text Control IDs +*/ +_dt_public +#define IDC_TEXT1 431 +_dt_public +#define IDC_TEXT2 432 +_dt_public +#define IDC_TEXT3 433 +_dt_public +#define IDC_TEXT4 434 +_dt_public +#define IDC_TEXT5 435 +_dt_public +#define IDC_TEXT6 436 +_dt_public +#define IDC_TEXT7 437 +_dt_public +#define IDC_TEXT8 438 +_dt_public +#define IDC_TEXT9 439 +_dt_public +#define IDC_TEXT10 440 +_dt_public +#define IDC_TEXT11 441 + + +/* +** Radio and Checkbox Button Control IDs +*/ +_dt_public +#define IDC_B0 450 +_dt_public +#define IDC_B1 451 +_dt_public +#define IDC_B2 452 +_dt_public +#define IDC_B3 453 +_dt_public +#define IDC_B4 454 +_dt_public +#define IDC_B5 455 +_dt_public +#define IDC_B6 456 +_dt_public +#define IDC_B7 457 +_dt_public +#define IDC_B8 458 +_dt_public +#define IDC_B9 459 +_dt_public +#define IDC_B10 460 + +_dt_public +#define IDC_RB0 610 +_dt_public +#define IDC_RB1 611 +_dt_public +#define IDC_RB2 612 +_dt_public +#define IDC_RB3 613 +_dt_public +#define IDC_RB4 614 +_dt_public +#define IDC_RB5 615 +_dt_public +#define IDC_RB6 616 +_dt_public +#define IDC_RB7 617 +_dt_public +#define IDC_RB8 618 +_dt_public +#define IDC_RB9 619 +_dt_public +#define IDC_RB10 620 + +/* +** Generic Dialog Button IDs +*/ + +_dt_public +#define IDC_BTN0 630 +_dt_public +#define IDC_BTN1 631 +_dt_public +#define IDC_BTN2 632 +_dt_public +#define IDC_BTN3 633 +_dt_public +#define IDC_BTN4 634 +_dt_public +#define IDC_BTN5 635 +_dt_public +#define IDC_BTN6 636 +_dt_public +#define IDC_BTN7 637 +_dt_public +#define IDC_BTN8 638 +_dt_public +#define IDC_BTN9 639 + + +/* +** Combo box IDs +*/ +_dt_public +#define IDC_COMBO0 480 +_dt_public +#define IDC_COMBO1 481 +_dt_public +#define IDC_COMBO2 482 +_dt_public +#define IDC_COMBO3 483 +_dt_public +#define IDC_COMBO4 484 +_dt_public +#define IDC_COMBO5 485 +_dt_public +#define IDC_COMBO6 486 +_dt_public +#define IDC_COMBO7 487 +_dt_public +#define IDC_COMBO8 488 +_dt_public +#define IDC_COMBO9 489 + +/* +** ICON IDs +*/ +_dt_public +#define IDC_ICON0 500 +_dt_public +#define IDC_ICON1 501 +_dt_public +#define IDC_ICON2 502 +_dt_public +#define IDC_ICON3 503 +_dt_public +#define IDC_ICON4 504 +_dt_public +#define IDC_ICON5 505 +_dt_public +#define IDC_ICON6 506 +_dt_public +#define IDC_ICON7 507 +_dt_public +#define IDC_ICON8 508 +_dt_public +#define IDC_ICON9 509 + +/* +** SPECIAL PUSHBUTTONS +*/ + +_dt_public +#define IDC_SP1 521 +_dt_public +#define IDC_SP2 522 +_dt_public +#define IDC_SP3 523 +_dt_public +#define IDC_SP4 524 +_dt_public +#define IDC_SP5 525 +_dt_public +#define IDC_SP6 526 +_dt_public +#define IDC_SP7 527 +_dt_public +#define IDC_SP8 528 +_dt_public +#define IDC_SP9 529 +_dt_public +#define IDC_SP10 530 + +/* +** STATUS TEXT FIELDS +*/ + +_dt_public +#define IDC_STATUS1 541 +_dt_public +#define IDC_STATUS2 542 +_dt_public +#define IDC_STATUS3 543 +_dt_public +#define IDC_STATUS4 544 +_dt_public +#define IDC_STATUS5 545 +_dt_public +#define IDC_STATUS6 546 +_dt_public +#define IDC_STATUS7 547 +_dt_public +#define IDC_STATUS8 548 +_dt_public +#define IDC_STATUS9 549 +_dt_public +#define IDC_STATUS10 550 + + + +/* +** SIZE FIELDS ASSOCIATED WITH CHECK OPTIONAL COMPONENTS +*/ + +_dt_public +#define IDC_SIZE1 551 +_dt_public +#define IDC_SIZE2 552 +_dt_public +#define IDC_SIZE3 553 +_dt_public +#define IDC_SIZE4 554 +_dt_public +#define IDC_SIZE5 555 +_dt_public +#define IDC_SIZE6 556 +_dt_public +#define IDC_SIZE7 557 +_dt_public +#define IDC_SIZE8 558 +_dt_public +#define IDC_SIZE9 559 +_dt_public +#define IDC_SIZE10 560 + + + +/* +** TOTALS OF SIZES +*/ + +_dt_public +#define IDC_TOTAL1 561 +_dt_public +#define IDC_TOTAL2 562 +_dt_public +#define IDC_TOTAL3 563 +_dt_public +#define IDC_TOTAL4 564 +_dt_public +#define IDC_TOTAL5 565 +_dt_public +#define IDC_TOTAL6 566 +_dt_public +#define IDC_TOTAL7 567 +_dt_public +#define IDC_TOTAL8 568 +_dt_public +#define IDC_TOTAL9 569 +_dt_public +#define IDC_TOTAL10 570 + +/* +** MAXIMUM SIZES +*/ + +_dt_public +#define IDC_MAX1 571 +_dt_public +#define IDC_MAX2 572 +_dt_public +#define IDC_MAX3 573 +_dt_public +#define IDC_MAX4 574 +_dt_public +#define IDC_MAX5 575 +_dt_public +#define IDC_MAX6 576 +_dt_public +#define IDC_MAX7 577 +_dt_public +#define IDC_MAX8 578 +_dt_public +#define IDC_MAX9 579 +_dt_public +#define IDC_MAX10 580 + +/* +** Edit Control IDs +*/ + +#define IDC_EDIT1 581 +#define IDC_EDIT2 582 +#define IDC_EDIT3 583 +#define IDC_EDIT4 584 +#define IDC_EDIT5 585 +#define IDC_EDIT6 586 +#define IDC_EDIT7 587 +#define IDC_EDIT8 588 +#define IDC_EDIT9 589 +#define IDC_EDIT10 590 + +/* +** ListBox Control IDs +*/ + +#define IDC_LIST1 591 +#define IDC_LIST2 592 +#define IDC_LIST3 593 +#define IDC_LIST4 594 +#define IDC_LIST5 595 +#define IDC_LIST6 596 +#define IDC_LIST7 597 +#define IDC_LIST8 598 +#define IDC_LIST9 599 +#define IDC_LIST10 600 + + +/* +** MENU IDS +*/ + +#define ID_MAINTAIN 651 + + +/* +** ID_MAINTAIN MENU IDS +*/ + +#define MENU_CHANGE 701 +#define MENU_INSTALL 702 +#define MENU_ADD_REMOVE 703 +#define MENU_EXIT 704 +#define MENU_HELPINDEX 705 +#define MENU_HELPSEARCH 706 +#define MENU_HELPONHELP 708 +#define MENU_HELPONLINE 709 +#define MENU_ABOUT 710 +#define MENU_PROFILE 711 +#define MENU_ADD_REMOVE_SCSI 712 +#define MENU_ADD_REMOVE_TAPE 713 |