Re: Inter-Driver Communication by AndersSipuri
AndersSipuri
Wed Mar 16 08:51:05 CST 2005
Yes, it is between two video drivers.
I want to send a IOCTL_VIDEO_MAP_VIDEO_MEMORY request to the other
Driver, Can I use ExtExcape or EngDeviceIoContorl to the other driver ?
How do I get a handle to the other driver ?
/Anders
"Boris Glick" wrote:
> You mean from one video driver to another? The only way I could think of,
> was a user-mode process (service) relaying it. Have the service create an
> event and pass a handle to the first driver, who will map it with
> EngMapEvent, and then use EngSetEvent to alert the service that it's time to
> send the message. Won't be synchronous though...
>
> I tried to do something similar, but couldn't come up with a way to map the
> handle of the target driver into the calling driver's address space. So I
> ended up with a user-mode component - a bit slow, but works.
>
> If you meant "from a kernel-mode driver to a video driver" - then I don't
> know.
>
> "Anders" <Anders Sipuri@discussions.microsoft.com> wrote in message
> news:B29E4C77-2AAF-4BBF-8199-22D4A8835EFA@microsoft.com...
> > Does anyone have any ideas about how I can
> > Send a IOCTL message from one driver to another video driver.
> > I only have access to the code from the sending driver.
> >
> > Thanks in advance,
> > Anders
> >
>
>
>