DWC_NdSetAttr

C Specification


#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 characters or fewer and ending with the NULL character.

The download server uses these attribute strings to decide 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 functions DWC_NdGetFileListNumAsync, DWC_NdGetFileListAsync and DWC_NdGetFileAsync are called without a call to this function, all attribute strings are treated as if they are blank.

Arguments

attr1 Pointer to the 1st attribute string.
attr2 Pointer to the 2nd attribute string.
attr3 Pointer to the 3rd attribute string.

Return Values

TRUE Succeeded
FALSE Failed

See Also

DWC_NdGetFileListNumAsync, DWC_NdGetFileListAsync, DWC_NdGetFileAsync

Revision History

04/26/2006 Initial version.


CONFIDENTIAL