Retrieves the value of a pointer config option.
Namespace: Un4seen.Bass
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.2
Syntax
Parameters
- option
- Type: Un4seen.BassBASSConfig
The option to get the value of...(see BASSConfig).
Return Value
Type: IntPtrIf successful, the value of the requested config option is returned (as an IntPtr). Use BASS_ErrorGetCode to get the error code.
Remarks
Other config options may be supported by Add-Ons, see the documentation.
ERROR CODE | Description |
---|---|
BASS_ERROR_ILLPARAM | option is invalid. |
Examples
string userAgent = String.Empty; IntPtr p = Bass.BASS_GetConfigPtr(BASSConfig.BASS_CONFIG_NET_AGENT); if (p != IntPtr.Zero) { userAgent = Utils.IntPtrAsStringAnsi(p); }
See Also