#include <revolution/nwc24.h>
NWC24Err NWC24CheckDlTask( const NWC24DlTask* taskPublic, BOOL wantWrite );
Checks whether the download task has a valid value.
taskPublic |
Pointer to the download task. |
wantWrite |
When FALSE has been specified, the function simply checks to see if there is any problem with the content of the task. When TRUE has been specified, the function also checks whether write permissions have been set.
|
NWC24_OK: Ended normally
NWC24_ERR_LIB_NOT_OPENED: The library has not been opened.
NWC24_ERR_PROTECTED: The download task is write protected.
NWC24_ERR_INVALID_VALUE: The value of taskPublic is NULL, or the download task does not have a valid value.
2007/09/20 Added description relating to wantWrite.
2006/12/05 Initial version.
CONFIDENTIAL