Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Win32 Apps call VxD services without VxDID

Posted on 1997-06-27
1
Medium Priority
?
238 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
[X]
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
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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

zlib is a free compression library (a DLL) on which the popular gzip utility is built.  In this article, we'll see how to use the zlib functions to compress and decompress data in memory; that is, without needing to use a temporary file.  We'll be c…
As more and more people are shifting to the latest .Net frameworks, the windows presentation framework is gaining importance by the day. Many people are now turning to WPF controls to provide a rich user experience. I have been using WPF controls fo…
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…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

730 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