Virtual display driver, prevent from shifting to secondary ID.
Virtual display driver, prevent from shifting to secondary ID.
- Subject: Virtual display driver, prevent from shifting to secondary ID.
- From: PowerPC <email@hidden>
- Date: Thu, 16 Aug 2007 14:57:42 +0530
Hi,
I have developed a virtual display kernel extension module which acts as a fake display. This driver base class is IOFramebuffer. There is no userclient or IOAccelrator class for this. Once the driver is loaded and restarted , I am able to see secondary display in SystemPreference->Displays
Also, I am able to access this buffer, configure various display modes (that i provided in this driver) using CoreGraphics library.
// Get the list of active displays using: CGGetActiveDisplayList
// Get the secondary ID: CGDisplayBaseAddress (secDisplayID)
Once you get the secondary display ID I can configure and do required operations using Core Graphics API's provided.
My main query is: Can we PREVENT user from shifting primary display ID to secondary display ID. I do not want this operation since secondary display is my own fake one created! So is it possible ?
[ Note: Shifting is done by going to SystemPreference -> Displays-> Apperance and dragging primary to secondary]
Please comment.
Regards,
Rodney
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden