Solved

Win32 Apps call VxD services without VxDID

Posted on 1997-06-27
1
220 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 100 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
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…

776 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