nn::applet::CTR::AppletSleepQueryCallback Type

Syntax

typedef AppletQueryReply(* nn::applet::CTR::AppletSleepQueryCallback)(uptr arg);

Description

The type of the callback function invoked by a sleep query.


Note: The thread that calls this callback has a stack size of roughly 4 KB. Take care to avoid overflows.

Use the nn::applet::CTR::SetSleepQueryCallback function to set the callback.

The value specified in arg is passed as is when setting the callback. Use as appropriate.

Revision History

2011/01/24
Added description of the stack.
2010/11/10
Initial version.

CONFIDENTIAL