I am currently changing our mirror driver, which runs on systems up and until Windows 7, to run under Windows 8. To accomplish this I am changing the driver to conform to a Remote Display Driver as defined by Microsoft. This states that GCAPS2_REMOTEDRIVER be set in flGraphicsCaps. This is not defined in the Windows 7 DDK, but is in the Windows 8 DDK so I have made the assumption that the driver would need to be compiled under the Win 8 DDK?
Running a driver compiled under the 8 DDK I get a crash occurring somewhere in/near driver load that I can’t seem to trap in windbg. This driver does store some pointers to some functions like MajorFunction[IRP_MG_PNP] which to me are suspect. Are there any tricks to setting breakpoints in the supporting DLL? I am not sure if the dll is mapped into user space or kernel space by the GDI?
If I run a same driver code compiled under the 7 DDK, it will load and function when pointing to the primary display. Once I attempt to attach to a second display I appear to get screen updates from the primary display still but cursor updates for the second display. This has puzzled me, and if anyone has any insight here it would be greatly appreciated. Also, when the code recreates its surface for the second display, I have verified that the DevInfo.dmPosition is indeed correct.
I know I am trying to fix a suspension bridge here with dental floss; being that XDDM is really at its end with Windows 8. However I am hoping that getting it to conform to a Remote Display driver can buy me some time to determine which technology to replace it with.
The last question I have here is in reference to the definition of a Remote Display Driver, where it states that only a select few of the DrvXXX functions can be defined. Do they all need to be provided by the driver? or no more than what’s listed and it is up to the implementer to choose which?
Thanks,
Nik Twerdochlib
Software Developer
BOMGAR | The Box That’s Revolutionizing Remote Support™
One of the Fastest-Growing Technology Companies in America | Technology Fast 500™
What is Bomgar? Find out in 154 secondshttp:.</http:>