> ## 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::QueryConnectedStandby

> IXtfConsoleControlClient::QueryConnectedStandby

# IXtfConsoleControlClient::QueryConnectedStandby

Determines whether the current development console is in Connected Standby mode.

<a id="syntaxSection" />

## Syntax

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

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

<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, and whether the power mode for the console is set to support Instant On. If you need to also determine whether the console supports XBOX app connections, use the [IXtfConsoleControlClient::QueryConnectedStandbyEx](/reference/tools/xtf/xtfconsolecontrol/interfaces/IXtfConsoleControlClient/methods/ixtfconsolecontrolclient_queryconnectedstandbyex) 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::QueryConnectedStandbyEx](/reference/tools/xtf/xtfconsolecontrol/interfaces/IXtfConsoleControlClient/methods/ixtfconsolecontrolclient_queryconnectedstandbyex.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)
