nn::friends::CTR::GetEventNotification Function

Syntax

u32 GetEventNotification(
     EventNotification * pEventNotificationList,
     size_t size = 1
);

Arguments

Name Description
out pEventNotificationList Specifies a pointer to a buffer storing the content of the obtained notifications.
in size Specifies the number of elements in the buffer.

Return Values

Returns the number of notifications actually obtained.

Description

Gets the history of notifications of changes in the local host's online state and/or friends' online states.

Use this function to get the content of notifications that had not yet been obtained, in order from oldest to newest. To get backlogged notifications in chronological order, call this function repeatedly until the return value is 0.

The library can save up to 16 notifications. If there are already 16 notifications saved and another is received, the oldest is discarded. The number of notifications saved might change in future.

Revision History

2010/08/16
Initial version.

CONFIDENTIAL