IXtfInputClient::DisconnectAllGamepads Method
Disconnects all virtual controllers simulated by this IXtfInputClient instance.Syntax
Return value
Type: HRESULT HRESULT success or error code.Remarks
Failure to disconnect a created gamepad will result in a memory leak. CallIXtfInputClient::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
XtfInputIXtfInputClient
IXtfInputClient::ConnectGamepad
IXtfInputClient::DisconnectGamepad
