> ## 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.

# IXtfConsoleControlClient::QueryConnectedStandbyEx

> IXtfConsoleControlClient::QueryConnectedStandbyEx

# IXtfConsoleControlClient::QueryConnectedStandbyEx

Determines whether the current development console is in Connected Standby mode and allows XBOX app connections.

<a id="syntaxSection" />

## Syntax

```cpp theme={null}
HRESULT QueryConnectedStandbyEx(
         BOOL *pfIsInConnectedStandby,  
         BOOL *pfAllowsInstantOn,  
         BOOL *pfAllowsXboxAppConnections  
)  
```

<a id="parametersSection" />

### Parameters

*pfIsInConnectedStandby*\
Type: BOOL\*

A pointer to a Boolean value that is set to TRUE if the console is currently in Connected Standby mode; FALSE otherwise.

*pfAllowsInstantOn*\
Type: BOOL\*

A pointer to a Boolean value that is set to TRUE if the console currently allows Instant On; FALSE otherwise.

*pfAllowsXboxAppConnections*\
Type: BOOL\*

A pointer to a Boolean value that is set to TRUE if the console currently allows XBOX app connections; FALSE otherwise.

<a id="retvalSection" />

### Return value

Type: HRESULT

Returns `S_OK` if successful; otherwise, returns an HRESULT error code.

<a id="remarksSection" />

## Remarks

This function determines whether the current development console is in Connected Standby mode, whether the power mode for the console is set to support Instant On, and whether the console supports XBOX app connections. If you don't need to determine whether the console can support XBOX app connections, you can use the [IXtfConsoleControlClient::QueryConnectedStandby](/reference/tools/xtf/xtfconsolecontrol/interfaces/IXtfConsoleControlClient/methods/ixtfconsolecontrolclient_queryconnectedstandby) function instead.

For more information about querying power mode options using XBOX Tools Framework (XTF), see [Reboot (xbreboot.exe) (NDA topic)](/tools/tools-console/commandlinetools/xbreboot).

<a id="requirementsSection" />

## Requirements

**Header:** xtfconsolecontrol.h

**Library:** xtfconsolecontrol.lib

**Supported platforms:** Windows (for XBOX console tools)

<a id="seealsoSection" />

## See also

[IXtfConsoleControlClient](/reference/tools/xtf/xtfconsolecontrol/interfaces/IXtfConsoleControlClient/ixtfconsolecontrolclient)\
[XtfConsoleControl](/reference/tools/xtf/xtfconsolecontrol/xtfconsolecontrol_members)


## Related topics

- [IXtfConsoleControlClient::QueryConnectedStandby](/reference/tools/xtf/xtfconsolecontrol/interfaces/IXtfConsoleControlClient/methods/ixtfconsolecontrolclient_queryconnectedstandby.md)
- [IXtfConsoleControlClient](/reference/tools/xtf/xtfconsolecontrol/interfaces/IXtfConsoleControlClient/ixtfconsolecontrolclient.md)
- [IXtfConsoleControlClient::ShutdownConsole](/reference/tools/xtf/xtfconsolecontrol/interfaces/IXtfConsoleControlClient/methods/ixtfconsolecontrolclient_shutdownconsole.md)
- [IXtfConsoleControlClient::UpdatesPending](/reference/tools/xtf/xtfconsolecontrol/interfaces/IXtfConsoleControlClient/methods/ixtfconsolecontrolclient_updatespending.md)
- [IXtfConsoleControlClient::SetConfigValue](/reference/tools/xtf/xtfconsolecontrol/interfaces/IXtfConsoleControlClient/methods/ixtfconsolecontrolclient_setconfigvalue.md)
