Prev: For PDO: How to forward request to next lower driver stack automatically in KMDF?
Next: Mirror Driver - how to pass Bitmap to user-mode app thought DrvEscape.
From: Ivan Brugiolo [MSFT] on 11 Jun 2007 12:47 Not all the DrvXXX functions exposed by a display driver are `drawing` functins, but, most of them are. You can conceivably immagine that DrvLineTo is expected to draw a line. -- -- This posting is provided "AS IS" with no warranties, and confers no rights. Use of any included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm <Attributesoft(a)gmail.com> wrote in message news:1181559237.792786.199230(a)h2g2000hsg.googlegroups.com... > Does Mirror Driver draws when each DrvXXX is calling or it does > nothing with it? >
From: Attributesoft on 11 Jun 2007 13:06 Ok I understood how I can move data across use-mode and session space. Now I need to find how I can copy those changed areas and then pass through DrvEscape to user-mode app. How can I do that?
From: Attributesoft on 11 Jun 2007 13:49 I mean how I can copy Bitmap from surface?
From: Ivan Brugiolo [MSFT] on 11 Jun 2007 16:25 memcpy(pDestinationBuffer,SURFOBJ::pvBits,SURFOBJ::cjBits); Honestly, you should try to understand what you are trying to do before shooting questions. -- -- This posting is provided "AS IS" with no warranties, and confers no rights. Use of any included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm <Attributesoft(a)gmail.com> wrote in message news:1181584171.815000.308220(a)k79g2000hse.googlegroups.com... >I mean how I can copy Bitmap from surface? >
From: Attributesoft on 11 Jun 2007 16:41
On 11 , 19:47, "Ivan Brugiolo [MSFT]" <ivanb...(a)online.microsoft.com> wrote: > Not all the DrvXXX functions exposed by a display driver are `drawing` > functins, > but, most of them are. You can conceivably immagine that DrvLineTo is > expected to draw a line. > > -- > -- > This posting is provided "AS IS" with no warranties, and confers no rights. > Use of any included script samples are subject to the terms specified athttp://www.microsoft.com/info/cpyright.htm > > <Attributes...(a)gmail.com> wrote in message > > news:1181559237.792786.199230(a)h2g2000hsg.googlegroups.com... > > > Does Mirror Driver draws when each DrvXXX is calling or it does > > nothing with it? Yes I understand that, but I need to know when for example DrvLineTo occurs, before this function or after does it change surface or not? Sorry for not correct English. Thank you for your answer. |