APP_IN_FOREGROUND

Syntax

#include <cafe/os.h>

#define APP_IN_FOREGROUND (OSGetForegroundBucket(NULL, NULL))

Parameters

None.

Return Values

Returns nonzero if the calling process has access to foreground resources. This is a macro around the OSGetForegroundBucket call.

Description

This function is a helper macro that calls OSGetForegroundBucket with benign arguments.

Do Not Call From

None.

See Also

OSGetCallArgs
OSGetForegroundBucket
OSGetSystemMessageQueue
OSReleaseForeground
OSSavesDone_ReadyToRelease
OSSendAppSwitchRequest

Revision History

2013/05/08 Automated cleanup pass.
2012/08/20 Remove ALPHA tag.
2012/07/27 Cleanup Pass
2011/07/29 Initial version.


CONFIDENTIAL