• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Something stopping power managment
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Something stopping power managment
      • From: Andrew James <email@hidden>
References: 
 >Something stopping power managment (From: Andrew James <email@hidden>)

  • Prev by Date: Re: Request for Authors: Focused Cocoa Topic Books
  • Next by Date: Re: Request for Authors: Focused Cocoa Topic Books
  • Previous by thread: Something stopping power managment
  • Next by thread: Re: Something stopping power managment
  • Index(es):
    • Date
    • Thread