HOWTO: Set Modem Lines Initial States in Win95 SERIAL.VXD

Last reviewed: June 24, 1997
Article ID: Q170083
The information in this article applies to:
  • Windows 95 Device Driver Kit (DDK), version 4.0

SUMMARY

The default Win95 COMM driver is a VCOMM port driver. Sometimes, you may need to set different default initial serial ports for the modem lines.

MORE INFORMATION

Even though some modem lines can be set differently after the port is opened, this may still cause a glitch in sensitive hardware. Note that boot- up Plug and Play activation of modem lines is a different issue for legacy or special hardware. For additional information, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q153385
   TITLE     : HOWTO: Disable Plug and Play for a Serial Hardware Device

The source code for SERIAL.VXD is given on the Windows 95 DDK in the COMM\SAMPLES\SERIAL subdirectory. To see where the modem lines are set, look after the label PO_Done: add modifying code lines after "or al,ACE_OUT2" in SERFUNC.ASM before it "out"puts it.

Windows 95 DDK 32-bit Assembly Language understanding required.

(c) Microsoft Corporation 1997, All Rights Reserved. Contributions by Bill Stuart, Microsoft Corporation

Version             : 4.0
Platform            : WINDOWS
Issue type          : kbhowto


================================================================================


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: June 24, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.