WBT_CancelCurrentCommand

C Specification

#include <nitro/wbt.h>

BOOL WBT_CancelCurrentCommand(u16 target);

Arguments

target Target aid bitmap that cancels command
When child, only parent 1 can be specified.

Return Values

Returns FALSE if there is no command that is currently processing. If there is, returns TRUE after interrupting and calling that command callback.

Description

Cancels any currently running command. Mainly used to cancel mid-stream after issuing WBT_GetBlock function.
Cannot be used on the side that requested the command.

See Also

WBT_RequestSync, WBT_GetBlockInfo, WBT_GetBlock, WBT_PutUserData

Revision History

10/05/2004 Initial version