Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Win32 Apps call VxD services without VxDID

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone 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

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…
After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
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…

838 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