#include <nitro/wbt.h>
BOOL WBT_GetCurrentDownloadProgress(u32 block_id, int aid, int *current_count, int *total_count);
block_id | The ID of the data block being received for which you want to acquire progress status. |
aid | The AID of the receive target for which you want to acquire progress status. |
current_count | The pointer for storing the number of packets received. |
total_count | The pointer for storing the total number of packets. |
If the specified block is being received, this function stores progress information and returns TRUE
. Otherwise, it does nothing and returns FALSE
.
If the specified data block is being received by the WBT_GetBlock
function, this obtains the progress status as:
"Number of packets received / Total number of packets".
09/21/2004 Initial version