nn::friends::CTR::AttachToEventNotification FunctionResult AttachToEventNotification( nn::os::Event * pEvent );
| Name | Description | |
|---|---|---|
| out | pEvent | Specifies a pointer to the nn::os::Event that notifies of changes. Initialize this ahead of time using the nn::os::Event::Initialize function. |
| Value | Description |
|---|---|
ResultSuccess |
Process succeeded. |
ResultInvalidPointer |
An invalid pointer was passed in as an argument. |
ResultInvalidHandle |
An invalid nn::os::Event handle was passed in as an argument. |
ResultNotInitialized |
The friend presence library has not been initialized. |
| Other | Some other result may be returned as a result of factors such as the daemon's internal state. |
Specifies an event that notifies of changes in the local host's login state and friends' login states.
When this function is called multiple times, only the last specified nn::os::Event object is signaled.
CONFIDENTIAL