IXtfInputClient::DisconnectAllGamepads Method

Disconnects all virtual controllers simulated by this XtfInputClient instance.

Syntax

public:
HRESULT DisconnectAllGamepads()  

Return value

Type: HRESULT 

HRESULT success or error code.

Call DisconnectAllGamepads when virtual controller operations are complete, to ensure that resources allocated for all virtual controllers are freed.

Requirements

Header: Declared in xtfinput.h.

Library: Use xtfinput.lib.