Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Virtual display driver, prevent from shifting to secondary ID.



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:
http://lists.apple.com/mailman/options/darwin-kernel/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.