Retrieves the value of a pointer config option.

void *BASS_GetConfigPtr(
    DWORD option


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.

Return value

If successful, the value of the requested config option is returned, else NULL is returned. NULL may also be a valid setting with some config options, in which case the error code should be used to confirm whether it's an error. Use BASS_ErrorGetCode to get the error code.

Error codes

BASS_ERROR_ILLPARAMoption is invalid.

See also

BASS_GetConfig, BASS_SetConfigPtr