Solved

Win32 Apps call VxD services without VxDID

Posted on 1997-06-27
1
216 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
Comment Utility

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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

This article shows a few slightly more advanced techniques for Windows 7 gadget programming, including how to save and restore user settings for your gadget and how to populate the "details" panel that is displayed in the Windows 7 gadget gallery.  …
For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

762 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now