#include <revolution/nwc24.h>
NWC24Err NWC24GetDlAppId( const NWC24DlTask* taskPublic, u32* appId );
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.
taskPublic |
Pointer to the download task. |
appId |
Pointer to the storage location of the application ID. |
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.
2007/11/29 Added text specific to the application ID.
2007/07/24 Initial version.
CONFIDENTIAL