CDDBSetOption( int what, char *lpszVal, int iVal );


Description: Sets various configuration options for CDDB support

Parameters:
what Item to be configured. See notes below.
lpszVal ASCIIZ string used for options that require a string
iVal Integer value setting for options requring an integer

Return Value: No return value.

Notes: The following items can be set by calling CDDBSetOption. If the option requires an ASCIIZ value, then the iVal parameter is ignored. If the option requires an integer or BOOL value, then the lpszVal parameter is ignored.

0 CDDB_OPT_SERVER ASCIIZ CDDB server address
1 CDDB_OPT_PROXY ASCIIZ Proxy server address
2 CDDB_OPT_USEPROXY BOOL Enable/disable use of proxy server
3 CDDB_OPT_AGENT ASCIIZ Name and version of calling application. Ex: "xtractor 0.11a"
4 CDDB_OPT_USER ASCIIZ Email address of user. Ex: "user@akrip.sourceforge.net"
5 CDDB_OPT_PROXYPORT Integer Proxy server's port number
6 CDDB_OPT_CGI ASCIIZ The relative address of the CGI script on the CDDB server. Ex: "/~cddb/cddb.cgi"
7 CDDB_OPT_HTTPPORT Integer The port that the CDDB server is listening on. Usually port 80.
8 CDDB_OPT_USECDPLAYERINI BOOL Default value is FALSE. When set to TRUE, CD information will automatically be written to CDPLAYER.INI after fetching from CDDB, and when an internet connection is not available, will attempt to read CD information from CDPLAYER.INI.

See also: GetAspiLibError