NWC24GetDlLastUpdate

Syntax

#include <revolution/nwc24.h>
NWC24Err NWC24GetDlLastUpdate( const NWC24DlTask* taskPublic, s64* sec );

Description

Gets the time of the last update of downloaded content on the server; the value is the number of seconds elapsed since January 1, 1970. If the server does not return the time of the last update during download, this function gets the time of the last successful download.

Arguments

taskPublic Pointer to the download task.
sec Pointer to the location where the last updated time will be stored.

Return Values

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

See Also

Revision History

2007/04/12 Added a description of the time format.
2006/12/05 Initial version.


CONFIDENTIAL