Hi
I have a video miniport driver and i want to signal my application
when somethign interesting happens inside that driver.
What i want to do is sort of what in pure WDM land would be said to be
as : "open the driver in asynchronous mode , and send an ioctl from
app to the driver and inside the driver do not call IoCompleteRequest
UNTIL sometihng interesting happens . In the aplication , keep waiting
on the event associated with the particular asynchronous call."
Now the problem following a similar approach in case of vidoe miniport
driver is that videoport.sys manages a strictly synchronously
serialized interface with all video miniport drivers where at the most
ONE VRP can be outstanding at any given time with a video miniport
driver.
How can i manage to solve this problem ? Should i manage it through
EVENT objects shared between user and kernel mode , and by passing the
address of the user mode EVENT object to my driver in the call to
EngDeviceIoControl ?
what would be the best approach here
thanks in advance
regards
Taha