Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Disconnects all virtual controllers simulated by this IXtfInputClient instance.
Syntax
public:
HRESULT DisconnectAllGamepads()
Return value
Type: HRESULT
HRESULT success or error code.
Remarks
Failure to disconnect a created gamepad will result in a memory leak.
Call IXtfInputClient::DisconnectAllGamepads
when virtual controller operations are complete to disconnect all controllers to avoid this.
To disconnect a single virtual controller, call IXtfInputClient::DisconnectGamepad.
Requirements
Header: xtfinput.h
Library: xtfinput.lib
Supported platforms: Windows (for Xbox console tools)
See also
XtfInput
IXtfInputClient
IXtfInputClient::ConnectGamepad
IXtfInputClient::DisconnectGamepad