DWC_NdSetAttr

Syntax


#include <nd/dwc_nd.h>

BOOL DWC_NdSetAttr( const char* attr1, const char* attr2, const char* attr3 )
				

Description

Sets the attribute strings for the download library. Attribute strings should be specified as ASCII strings of 10 or fewer characters, ending with the NULL character.

The download server uses these attribute strings to determine which files can be downloaded.
Three attribute strings are evaluated using the method described below. If all three strings are deemed downloadable, then the file is treated as downloadable.

If the DWC_NdGetFileListNumAsync, DWC_NdGetFileListAsync, and DWC_NdGetFileAsync functions are called without a call to this function, all attribute strings are treated as if they were blank.

Arguments

attr1 Pointer to the first attribute string.
attr2 Pointer to the second attribute string.
attr3 Pointer to the third attribute string.

Return Values

TRUE Succeeded.
FALSE Failed.

See Also

DWC_NdGetFileListNumAsync
DWC_NdGetFileListAsync
DWC_NdGetFileAsync

Revision History

2006/04/26 Initial version.


CONFIDENTIAL