NWC24GetDlAppId

C Specification

#include <revolution/nwc24.h>
NWC24Err NWC24GetDlAppId( const NWC24DlTask* taskPublic, u32* appId );

Description

Gets ID of the application that created a download task.

The (four-letter) game code for the application that created that task is set, as a 32-bit value, as the application ID.

Arguments

taskPublic Pointer to the download task.
appId Pointer to the storage location of the application ID.

Return Values

NWC24_OK: Obtained normally (a value is returned in *appId).
NWC24_ERR_LIB_NOT_OPENED: The library has not been opened.
NWC24_ERR_INVALID_VALUE: The value of either taskPublic or appId is NULL, or else the download task is invalid.

See Also

Revision History

2007/11/29 Added text specific to the application ID.
2007/07/24 Initial version.


CONFIDENTIAL