SAMPLE: User Interaction w/ a VxD Using Message Mode Services

Last reviewed: October 16, 1997
Article ID: Q77403
3.00 3.10 WINDOWS kbprg kbfile

The information in this article applies to:

  • Microsoft Windows Device Driver Kit (DDK) for Windows versions 3.0 and 3.1

Under Microsoft Windows enhanced mode, a virtual device (VxD) can use the virtual keyboard device (VKD) and virtual display device (VDD) message mode services to provide user interaction. These services are especially useful to programs that implement security systems where the user is required to enter a password before any further operation can proceed.

The VKD and VDD message mode services are documented in the Microsoft Windows Device Driver Kit "Virtual Device Adaptation Guide."

MSGMODE is a file in the Software Library that contains a sample virtual device that demonstrates using the message mode services and the virtual machine manager (VMM) Time Out services. MSGMODE uses the VMM Hook_Device_Service to detect keyboard and mouse activity.

Download MSGMODE.EXE, a self-extracting file, from the Microsoft Software Library (MSL) on the following services:

  • Microsoft Download Service (MSDL)

          Dial (206) 936-6735 to connect to MSDL
          Download MSGMODE.EXE (size: 24721 bytes) 
    
  • Internet (anonymous FTP)

          ftp ftp.microsoft.com
          Change to the \softlib\mslfiles directory
          Get MSGMODE.EXE (size: 24721 bytes) 
    


Additional reference words: 3.00 3.10 DDKVXD softlib MSGMODE.EXE
KBCategory: kbprg kbfile
KBSubcategory: DthreeVddMsgmode
Keywords : DthreeVddMsgmode kbfile kbprg
Version : 3.00 3.10
Platform : WINDOWS


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: October 16, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.