nn::applet::CTR::WaitForRegister Function

Syntax

bool WaitForRegister(
     AppletId appletId,
     nn::fnd::TimeSpan span = NN_APPLET_WAIT_INFINITE
);

Arguments

Name Description
in appletId The Applet ID.
in span Maximum wait time.

Return Values

Returns true if it is registered; otherwise, returns false.

Description

Waits the allotted time for the Applet with the specified ID to be registered.

If NN_APPLET_WAIT_INFINITE is specified, this function waits until registration is complete. In other words, its return value is always true.

If NN_APPLET_NO_WAIT is specified, processing returns immediately. The return value is either true or false, depending on whether it was registered.

In general, applications will probably not call this function directly.

Revision History

2010/11/10
Initial version.

CONFIDENTIAL