Can a static VxD process the w32_deviceIoControl message?
If yes, do I have to call CreateFile function in my application to use Win32 DeviceIoControl Interface in a static VxD then?
Or is the only way for an application to call functions inside a VxD to make that VxD dynamic?
Posted on 2002-08-10 16:31:40 by Vaxon
yes a static VxD can process DeviceIO.

No you do not have to load it dynamically (createfile).

You can make a Vxd both static and dynamic by making the ON_SystemDynamic_Init routing jump to the ON_System_Init routine.

That way you can load it dynamically until you work the kinks out.
Posted on 2002-08-13 12:43:53 by sceptor
Thank you, but I still can't figure out how a static VxD does process win32_DeviceIoControl message.
To call the DeviceIoControl procedure from a win32 application I must get a vxd handle, which I do get when loading it dynamically using CreateFile. If the VxD is static and loaded by the system my application doesn't get any VxD hadle. How should I get it if the VxD is static?:confused:
Posted on 2002-08-15 02:56:33 by Vaxon
Far as I remember, the same way that you would load your vxd: with a call to Createfile. Name being \\.\vxdnamehere. This should get you a valid handle to it, for use with DeviceIOControl.

Posted on 2002-08-15 04:39:11 by Fake51