10/25/1997 JosephJ Notes on the reorganization of modemui. The UI has been split into two: CPL and CFG. Files to do with CPL UI are named cpl*.*, and those to do with CFG UI are named cfg*.*. modemui.c still contains all the exported apis. ---------------------------------------- Settings (visible from control panel) General: IDD_GENERAL Speaker Volume: IDC_VOLUME Maximum Port Speed: IDC_CB_SPEED Blind Dial: IDC_WAITFORDIALTONE ---------------------------------------- Diagnostics: IDD_DIAGNOSTICS IDC_MOREINFOV -- commands IDC_MOREINFOV2 -- "static info" IDC_LOGGING IDC_VIEWLOG ---------------------------------------- Advanced: IDD_ADV_MODEM Extra Settings: IDC_AM_EXTRA_ED Default Properties: button that launches property pages to set IDC_BN_DEFAULTS Enable extensions checkbox: IDC_CB_ENABLE_EXTENSIONS ---------------------------------------- Properties: Called through lineConfigDialog or lineConfigDialogEdit .... IDD_MDMSETTINGS IDC_CH_DIALTIMER; IDC_ED_DIALTIMER IDC_CH_IDLETIMER IDC_ED_IDLETIMER IDC_TERMINAL_PRE IDC_TERMINAL_POST IDC_MANUAL_DIAL IDC_WAIT_SEC ---------------------------------------- IDD_DATAMODEM IDC_CB_EC IDC_CB_COMP IDC_CB_MOD IDC_CB_SPEED IDC_CB_FC IDC_CB_DATABITS IDC_CB_PARITY IDC_CB_STOPBITS ---------------------------------------- from util.c: RegQueryModemSettings( HKEY hkey, LPMODEMSETTINGS pms, LPDWORD pdwSize) // Size of modem settings struct { // 10/26/1997 JosephJ: // Only the following 4 contiguous fields of MODEMSETTINGS are saved // in the registry: // DWORD dwCallSetupFailTimer; // seconds // DWORD dwInactivityTimeout; // seconds // DWORD dwSpeakerVolume; // level // DWORD dwSpeakerMode; // mode // DWORD dwPreferredModemOptions; // bitmap // // The following code reads in just those fields, and then // munges the dwInactivityTimeout by multiplying by the // separate InactivityScale registry entry. // // On NT4.0 we just blindly read the above 4 fields // Here we validate the size before reading. ---------------------------------------- 4/29/1998 JosephJ cfgisdn.c in RegSetGlobalModemInfo(), call ValidateISDNStaticConfig(), Implement all checks in ValidateISDNStaticConfig.