WBT_CancelCurrentCommand 

Syntax

#include <nitro/wbt.h>

BOOL WBT_CancelCurrentCommand(u16 target);

Arguments

target AID bitmap of the targets for which the command should be canceled. Children can specify only "1" (the parent).

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 the 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

2004/10/05 Initial version.


CONFIDENTIAL