BASS_GetConfigPtr

Retrieves the value of a pointer config option.

const void *BASS_GetConfigPtr(
    DWORD option
);

Parameters

optionThe option to set the value of... one of the following.
BASS_CONFIG_ANDROID_JAVAVMAndroid app's Java VM.
BASS_CONFIG_DEV_NOTIFYDevice list notification function.
BASS_CONFIG_FILENAMEFilename of loaded BASS library.
BASS_CONFIG_FILEOPENPROCSLocal file handling functions.
BASS_CONFIG_LIBSSLLibrary to use for handling HTTPS connections.
BASS_CONFIG_NET_AGENT"User-Agent" header.
BASS_CONFIG_NET_PROXYProxy server settings.
Other config options may be supported by add-ons.

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 is an error. Use BASS_ErrorGetCode to get the error code.

Error codes

BASS_ERROR_ILLPARAMoption is invalid. If an add-on option, it may be that the add-on has not been loaded.

See also

BASS_GetConfig, BASS_SetConfigPtr