Pairs the user with given user ID, to the controller with given controller ID.
public:
HRESULT PairControllerWithUserId(
UINT32 userId,
UINT64 controllerId
)
userId
Type: UINT32
The user ID of the user to be paired. (This is the userId in the XTF_USER_DATA structure describing the user.)
controllerId
Type: UINT64
The controller ID of the controller. Controllers are created with IXtfInputClient.
Type: HRESULT
HRESULT success or error code.
The given user is paired with the given controller, even if the controller was previously paired with a different user.
Header: Declared in xtfuser.h.
Library: Use xtfuser.lib.