Re: Something stopping power managment
Re: Something stopping power managment
- Subject: Re: Something stopping power managment
- From: Mike Paquette <email@hidden>
- Date: Mon, 23 Apr 2007 11:19:59 -0700
On Apr 23, 2007, at 3:34 AM, Andrew James wrote:
if(CGDisplayCapture(kCGDirectMainDisplay) != kCGErrorSuccess) {
When displays are captured, other applications and system services
are in general not allowed change its configuration, to avoid
unpleasant surprises for your application. That would include not
switching off power to the frame buffer, which could produce an
exception in your program.
http://developer.apple.com/documentation/GraphicsImaging/Reference/
Quartz_Services_Ref/Reference/reference.html#//apple_ref/c/func/
CGDisplayCapture
CGDisplayCapture
Captures a display for exclusive use by an application.
Discussion
When an application captures a display, Quartz does not allow other
applications and system services to use the display or change its
configuration.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden