LayGO for Windows 2000/XP

Kernel-Mode Device Drivers (KMDs)

laygo2kx.sys is a dynamically loadable Windows 2000/XP Kernel-Mode Device Driver (KMD) which provides LayGO communication services to Win32 applications. (The x in laygo2kx.sys is replaced by a single hexadecimal digit 0-F depending on the type of hardware the KMD drives.) laygo2kx.sys is accessed exclusively through LAYGO32.dll.

Use of laygo2kx.sys requires that the proper communication board be installed in the PC. A second KMD called laygo2k6.sys is also provided. laygo2k6.sys is a hardware emulation KMD. When used in place of laygo2kx.sys, laygo2k6.sys emulates a 2 line communication board. When laygo2k6.sys is configured for internal loopback mode, data written on a line is looped back on the same line. Otherwise, lines 0 and 1 are connected so that signals and data output on one line are received on the other. Since laygo2k6.sys emulates the communication hardware in software, it can be used without any communication board installed.

Both the emulation driver and the actual hardware driver can be installed at the same time.

Installing the Driver

LayGO drivers for Windows 2000/XP fully support Plug and Play and Power Management. They are installed using .inf files located in the LayGO drv directory. To install a driver for Windows 2000/XP:

  1. Install the LayGO software so that the necessary files are available during driver installation.
  2. Install the communications board in the PC.
  3. Complete the New Hardware Wizard.

The Registry

It is no longer necessary to store most hardware configuration parameters in the Registry under Windows 2000/XP as it is under Windows NT 4.0. Those parameters which are still required are automatically entered in the Registry from the .inf file during driver installation.

Stack Configuration

Stack configuration is the same for Windows 2000/XP as it is for Windows NT 4.0. See LayGO for Windows NT 4.0 - Stack Configuration for details.

Dynamically Linked Libraries (DLLs)

The LayGO DLLs are the same for Windows 2000/XP as they are for Windows NT 4.0. See LayGO for Windows NT 4.0 - DLLs for details.