I have written a display mirror driver that mirrors the display by keeping
track of changes to the primary display device. The mirror drivers works
just fine 99% of the time. But there are certain applications that do not
coexist well with the mirror driver. When the mirror driver is installed,
the application starts up, and then quickly closes down when the
SetPixelFormat call returns FALSE, with getlasterror = 1004. If the mirror
driver is not installed, the application starts just fine.
Any clues out there as to why my mirror driver would be interferring with
these few applications? Most of the applications are 3D apps, but some are
multimedia such as WinDVD. I’ve implemented DrvSetPixelFormat in the mirror
driver, but not DrvDescribePixelFormat.
I have written a display mirror driver that mirrors the display by keeping
track of changes to the primary display device. The mirror drivers works
just fine 99% of the time. But there are certain applications that do not
coexist well with the mirror driver. When the mirror driver is installed,
the application starts up, and then quickly closes down when the
SetPixelFormat call returns FALSE, with getlasterror = 1004. If the mirror
driver is not installed, the application starts just fine.
Any clues out there as to why my mirror driver would be interferring with
these few applications? Most of the applications are 3D apps, but some are
multimedia such as WinDVD. I’ve implemented DrvSetPixelFormat in the mirror
driver, but not DrvDescribePixelFormat.
Are you maybe returning FALSE in your DrvSetPixelFormat?
Hi Burk, no, I have returned TRUE to DrvSetPixelFormat.
Do you think I need to implement DrvDescribePixelFormat? I didn’t implement
this as I didn’t know how to return a proper PIXELFORMATSTRUCTURE that would
“mirror” the format of the primary display.
Thanks,
John
“Dipl.-Ing. Burkhard Daniel” wrote in message news:xxxxx@ntdev… > jmarks wrote: > > I have written a display mirror driver that mirrors the display by keeping > > track of changes to the primary display device. The mirror drivers works > > just fine 99% of the time. But there are certain applications that do not > > coexist well with the mirror driver. When the mirror driver is installed, > > the application starts up, and then quickly closes down when the > > SetPixelFormat call returns FALSE, with getlasterror = 1004. If the mirror > > driver is not installed, the application starts just fine. > > > > Any clues out there as to why my mirror driver would be interferring with > > these few applications? Most of the applications are 3D apps, but some are > > multimedia such as WinDVD. I’ve implemented DrvSetPixelFormat in the mirror > > driver, but not DrvDescribePixelFormat. > > Are you maybe returning FALSE in your DrvSetPixelFormat? > > Burk. > – > Dipl.-Ing. Burkhard Daniel Professional System Software Engineering > xxxxx@system-software.nethttp://system-software.net > fon/fax: +49-30-55153591 mobile: +49-179-5319489 >