Sets the value of a pointer config option.

BOOL BASS_SetConfigPtr(
    DWORD option,
    void *value


optionThe option to set the value of... one of the following.
BASS_CONFIG_NET_AGENT"User-Agent" header.
BASS_CONFIG_NET_PROXYProxy server settings.
other config options may be supported by add-ons, see the documentation.
valueThe new option setting. See the option's documentation for details on the possible values.

Return value

If successful, TRUE is returned, else FALSE is returned. Use BASS_ErrorGetCode to get the error code.

Error codes

BASS_ERROR_ILLPARAMoption is invalid.


Config options can be used at any time and are independent of initialization, ie. BASS_Init does not need to have been called beforehand.

See also

BASS_GetConfigPtr, BASS_SetConfig