> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XNetworkingQueryConfigurationSetting

> XNetworkingQueryConfigurationSetting

# XNetworkingQueryConfigurationSetting

Retrieves the specified networking configuration setting's numeric value.

## Syntax

```cpp theme={null}
HRESULT XNetworkingQueryConfigurationSetting(  
         XNetworkingConfigurationSetting configurationSetting,  
         uint64_t* value  
)  
```

### Parameters

*configurationSetting*   \_In\_\
Type: [XNetworkingConfigurationSetting](/reference/networking/xnetworking/enums/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](/reference/networking/xnetworking/functions/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](/reference/networking/xnetworking/xnetworking_members)


## Related topics

- [XNetworkingConfigurationSetting](/reference/networking/xnetworking/enums/xnetworkingconfigurationsetting.md)
- [XNetworkingSetConfigurationSetting](/reference/networking/xnetworking/functions/xnetworkingsetconfigurationsetting.md)
- [XNetworking](/reference/networking/xnetworking/xnetworking_members.md)
- [Content Test Application (CTA) Stream Configuration Overview](/build/core-features/common/game-streaming/game-streaming-content-test-application-stream-config.md)
- [Manage game streaming (wdgamestream.exe)](/tools/tools-console/console_commandlinetools/wdgamestream.md)
