PRB: VCD_Virtualize_Port Works in 3.1 but Fails in Windows 95

Last reviewed: December 14, 1995
Article ID: Q141232
The information in this article applies to:
  • Microsoft Win32 Device Development Kit (DDK) for Windows 95

SYMPTOMS

To claim a COM port in Windows 3.1, VCD services were sometimes employed. VCD is the virtualizer for the serial ports. In particular, the VCD_Virtualize_Port call was used. However, programmers find that this call fails in Windows 95 as if the port has already been virtualized.

CAUSE

Under Windows 95, the port has indeed been virtualized. COMBUFF, which buffers all MS-DOS VM serial port data, virtualizes all serial ports during initialization. VCOMM is the new VxD controlling COMM ports for Windows- based applications. As such, VCOMM is the intended VxD through which COMM ports are acquired through VCOMM_Acquire_Port. This would be called from a dynamic port driver. See Vcomm.doc in the DDK for a complete description.

STATUS

This behavior is by design.

REFERENCES

MSDN Library Compact Disc October 95 Windows 95 DDK


Additional reference words: 4.00 VCD
KBCategory: kbprg kbprb
KBSubcategory:


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: December 14, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.