Skip to main content

XNetworkingQueryConfigurationSetting

Retrieves the specified networking configuration setting’s numeric value.

Syntax

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

See also

XNetworking
Last modified on August 20, 2026