![]() ![]() GDI calls the mirror driver for any 2D graphics DDI drawing operation that intersects the driver's bounding rectangle. This application can ensure that the driver is loaded correctly at boot time and it can respond appropriately to changes to the desktop by getting notifications of display changes via the WM_DISPLAYCHANGE message. It is recommended that a user-mode service be used to maintain the mirror driver's settings. On a multiple-monitor system, this might not include all drawing operations if the mirror driver overlaps only the primary display device. If the mirror driver is intended to mirror the primary display, its display coordinates should coincide with the primary display's desktop coordinates.Īfter the mirror driver is installed, it will be called for all rendering operations that intersect the driver's display region. Because the mirror driver's coordinate space is the desktop coordinate space, it can span more than one device. To disable the mirror driver, set this entry to 0 (zero).Īs mentioned previously, the driver is installed and operates in a drawing layer that resides above the device layer. For multiple instances, # is a different number for each instance therefore you must determine this number by iterating through the available display devices.Īttaching the mirrored device to the global desktopĪdd the REG_DWORD registry entry Attach.ToDesktop to your driver's services keys. ![]() This number is required to change the settings for your mirrored device. You use this function to determine the \\.\Display# name associated with your mirrored display device.
0 Comments
Leave a Reply. |