Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Win32 Apps call VxD services without VxDID

Posted on 1997-06-27
1
Medium Priority
?
241 Views
Last Modified: 2013-12-03
I want to write a VxD that provides services for Win32 applications. I don't want to apply any VxDID. Is that possible? VToolsD provides "Vendor Specific Entry Point" VxD that can provides services for Win16 applications. However, it doesn't work for Win32 applications.
0
Comment
Question by:JesseChang
1 Comment
 
LVL 2

Accepted Solution

by:
tonp earned 300 total points
ID: 1399404

VxDs do not use a vxdid to suplly an API to 32-bit applications. Instead, they must respond to the W32_DEVICEIOCONTROL system message.
User mode applications connect to the VXD with the CreateFile function, specifying the vxd name as in "\\\\.\\<vxdname>". The returned handle is used in the DeviceIoControl function to communicate with the VXD. The dwIoControlCode (second parameter of DeviceIoControl) )is specified in the ecx register at the W32_DEVICEIOCONTROL message, where esi holds an
LPDIOC pointer (see vwin32.h).
More details can be found in de Win32 SDK and the Win95 DDK (including samples).
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes a technique for converting RTF (Rich Text Format) data to HTML and provides C++ source that does it all in just a few lines of code. Although RTF is coming to be considered a "legacy" format, it is still in common use... po…
This article surveys and compares options for encoding and decoding base64 data.  It includes source code in C++ as well as examples of how to use standard Windows API functions for these tasks. We'll look at the algorithms — how encoding and decodi…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question