Metroickha
2010-06-24 14:47:06 UTC
Hello,
I have a question regarding the MSPlot sample of the WinDDK. In this sample
the function drvlineto is not implemented. I've implemented the drvlineto to
the hooktable in the enable.c, then I also added the hookflag HOOK_LINETO to
the flags. I implemented the function DrvLineTo(...).
But when I call the lineto function in MFC the function doesn't get triggered.
Somewhere I read I needed to select a solid pen with 0 width, I've tried it
but it doesn't work.
The driver does build successfully. I installed the driver. The driver gets
loaded through the CDC.createDC(...). But when I call CDC.LineTo(...) while
debugging with WinDBG, the function doesn't get hooked. Why? Does anyone
knows?
Kind regards,
Chi Wai
I have a question regarding the MSPlot sample of the WinDDK. In this sample
the function drvlineto is not implemented. I've implemented the drvlineto to
the hooktable in the enable.c, then I also added the hookflag HOOK_LINETO to
the flags. I implemented the function DrvLineTo(...).
But when I call the lineto function in MFC the function doesn't get triggered.
Somewhere I read I needed to select a solid pen with 0 width, I've tried it
but it doesn't work.
The driver does build successfully. I installed the driver. The driver gets
loaded through the CDC.createDC(...). But when I call CDC.LineTo(...) while
debugging with WinDBG, the function doesn't get hooked. Why? Does anyone
knows?
Kind regards,
Chi Wai