Re: Looking for the simplest method to send some bytes from mirror display driver to application?
From: Brian Catlin (brianc_at_sannas.org.bad)
Date: 08/23/04
- Next message: Benoît Bousquet: "Virtual network adapter w/XP SP2"
- Previous message: Benoît Bousquet: "Re: softice crashed after installed winxp sp2"
- In reply to: Calvin Guan: "Re: Looking for the simplest method to send some bytes from mirror display driver to application?"
- Next in thread: lucy: "Re: Looking for the simplest method to send some bytes from mirror display driver to application?"
- Reply: lucy: "Re: Looking for the simplest method to send some bytes from mirror display driver to application?"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 23 Aug 2004 14:14:47 -0700
"Calvin Guan" <cguan@pleasenospam.ati.com> wrote in message
news:%23msOuYUiEHA.596@TK2MSFTNGP11.phx.gbl...
> Good point. I think at the point driver's DrvEscape got called by win32k,
> the session space is valid.
Sure, but if the variable was set during driver initialization, then it won't be
-Brian
Brian Catlin, Sannas Consulting 310-944-9492
Windows Network, Video, WDM Device Driver Training & Consulting
See WWW.AZIUS.COM.bad for courses and scheduling
REMOVE .BAD FROM EMAIL AND WEB ADDRESS
>
> Thanks,
> Calvin
> -
> Calvin Guan Software Engineer
> ATI Technologies Inc. www.ati.com
> "Brian Catlin" <brianc@sannas.org.bad> wrote in message
> news:uuFc6JUiEHA.1656@TK2MSFTNGP09.phx.gbl...
>> "Calvin Guan" <cguan@pleasenospam.ati.com> wrote in message
>> news:e3LOS1TiEHA.356@tk2msftngp13.phx.gbl...
>> > "lucy" <losemind@yahoo.com> wrote in message
>> > news:OKyq5gTiEHA.1040@TK2MSFTNGP09.phx.gbl...
>> >> Can I use global variable in mirror driver?
>> >
>> > Yes, you can.
>>
>> Be careful with global variables in display (mirror) drivers!!! The will
> be
>> allocated in session space - not system-wide memory. This means that the
>> variables will only be available when the session is mapped. For your
>> application, this probably won't be a problem, but I've had students who
> have
>> run into this problem, when they try to access global variables that were
>> defined in a different session
>>
>> -Brian
>>
>> Brian Catlin, Sannas Consulting 310-944-9492
>> Windows Network, Video, WDM Device Driver Training & Consulting
>> See WWW.AZIUS.COM.bad for courses and scheduling
>> REMOVE .BAD FROM EMAIL AND WEB ADDRESS
>>
>>
>
>
- Next message: Benoît Bousquet: "Virtual network adapter w/XP SP2"
- Previous message: Benoît Bousquet: "Re: softice crashed after installed winxp sp2"
- In reply to: Calvin Guan: "Re: Looking for the simplest method to send some bytes from mirror display driver to application?"
- Next in thread: lucy: "Re: Looking for the simplest method to send some bytes from mirror display driver to application?"
- Reply: lucy: "Re: Looking for the simplest method to send some bytes from mirror display driver to application?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|