XNetworkingQueryConfigurationSetting
Retrieves the specified networking configuration setting's numeric value.
Syntax
HRESULT XNetworkingQueryConfigurationSetting(
XNetworkingConfigurationSetting configurationSetting,
uint64_t* value
)
Parameters
configurationSetting _In_
Type: XNetworkingConfigurationSetting
An enumerated value identifying the configuration setting to be retrieved.
value _Out_
Type: uint64_t*
A pointer indicating where to store the numeric value currently assigned to the configuration setting.
Return value
Type: HRESULT
S_OK if retrieving the parameter setting value was successful. E_NOTIMPL if retrieving the specified parameter setting isn't supported on the current platform. E_INVALIDARG if the specified setting isn't recognized by the Gaming Runtime.
Remarks
Use XNetworkingSetConfigurationSetting to alter a configuration setting's value from its current value.
Requirements
Header: XNetworking.h
Library: xgameruntime.lib
Supported platforms: Windows, Xbox One family consoles and Xbox Series consoles