ProcUIRegisterBackgroundCallback

Syntax

#include <cafe/procui.h>

typedef u32 (*ProcUICallbackFunction)(void*);

void ProcUIRegisterBackgroundCallback(
    ProcUICallbackFunction  func,
    void*                   data,
    OSTime                  ticksToDelay
);

Parameters

func The function to be called.
data Data to be passed to the function.
ticksToDelay The number of ticks between each call of the callback function.

Return Values

None.

Description

Registers a function to be called periodically while in the background.

Do Not Call From

Background Do not call this function from the background.
Multiple threads This function is not thread-safe.

See Also

ProcUIClearCallbacks
ProcUIMessage

Revision History

2013-07-01 Divided ProcUIRegisterCallback into 3 MAN pages.
2013-05-08 Automated cleanup pass.
2012-08-21 Cleanup Pass
2012-05-04 Initial version.


CONFIDENTIAL