OSSendPolicyRequest

Syntax

#include <cafe/os.h>

typedef enum _osPolicyRequest
{
    OSPOLICY_Exit=1,
    OSPOLICY_NotifyNetIoStart=2,
    OSPOLICY_NotifyNetIoEnd=3
} OSPolicyRequest;

BOOL OSSendPolicyRequest(OSPolicyRequest aPolicy, UPID aTargetProcId);

Parameters

aPolicy Enumerated policy notification you would like to send.
aTargetProcId Specific process to which the notification should be sent. May not be applicable for all policy notifications.

Return Values

Returns TRUE if the policy request was understood by the system, or FALSE if there was an error.

Description

This function is used by system software to control policy information and to distribute notifications to other system processes and the game process in a well-defined and controlled fashion.

Do Not Call From

None.

See Also

APP_IN_FOREGROUND
OSGetCallArgs
OSGetForegroundBucket
OSGetSystemMessageQueue
OSSavesDone_ReadyToRelease
OSReleaseForeground

Revision History

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


CONFIDENTIAL