Skip to main content

IXtfUserClient::PairControllerWithUser Method

지정된 이메일 주소로 식별되는 사용자를 지정된 컨트롤러 ID의 컨트롤러와 페어링합니다.

Syntax

Parameters

userName
Type: LPCWSTR
컨트롤러와 페어링할 사용자의 이메일 주소입니다. controllerId
Type: UINT64
컨트롤러의 컨트롤러 ID입니다.

Return value

Type: HRESULT HRESULT 성공 또는 오류 코드.

Remarks

사용자의 이메일 주소를 얻으려면 ListUsers를 호출하세요. 반환된 XTF_USER_DATA 구조체에서 pszEmailAddress 멤버를 살펴봅니다. PairControllerWithUser를 사용하여 컨트롤러를 페어링하는 것은 누적됩니다. 이미 사용자가 컨트롤러와 페어링되어 있는 경우, userName으로 지정된 사용자도 컨트롤러와 페어링됩니다. 배타적 페어링을 만들려면 PairControllerWithUserIdExclusive 또는 PairControllerWithUserExclusive를 호출하세요.

Requirements

Header: xtfuser.h Library: xtfuser.lib Supported platforms: Windows(XBOX 콘솔 도구용)

See also

PairControllerWithUserId
마지막 수정일 2026년 8월 24일