FROM : Jeff Nouwen
DATE : Fri May 02 15:14:30 2008
On May-2-2008, at 2:26 AM, Jere Gmail wrote:
> I know I can stop the machine from going to sleep through calling
> the function
> UpdateSystemActivity ( UInt8 activity );
> But I also want to stop it from turning off the screen, as quicktime
> or vlc do.
> How can I do this?
Pass in UsrActivity as your activity value:
UsrActivity
Delays idle sleep and dimming by timeout time.
Available in Mac OS X v10.0 and later.
Declared in Power.h
- Jeff
DATE : Fri May 02 15:14:30 2008
On May-2-2008, at 2:26 AM, Jere Gmail wrote:
> I know I can stop the machine from going to sleep through calling
> the function
> UpdateSystemActivity ( UInt8 activity );
> But I also want to stop it from turning off the screen, as quicktime
> or vlc do.
> How can I do this?
Pass in UsrActivity as your activity value:
UsrActivity
Delays idle sleep and dimming by timeout time.
Available in Mac OS X v10.0 and later.
Declared in Power.h
- Jeff
| Related mails | Author | Date |
|---|---|---|
| Jere Gmail | May 2, 10:26 | |
| Jeff Nouwen | May 2, 15:14 |






Cocoa mail archive

