Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
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