> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XUserPlatformSpopPromptEventHandler

> XUserPlatformSpopPromptEventHandler

# XUserPlatformSpopPromptEventHandler

SPOP 작업 이벤트 처리기의 프롬프트를 표시합니다.

## 구문

```cpp theme={null}
typedef void (XUserPlatformSpopPromptEventHandler)(
    _In_opt_ void* context,
    _In_ uint32_t userIdentifier,
    _In_ XUserPlatformOperation operation,
    _In_z_ char const* modernGamertag,
    _In_opt_z_ char const* modernGamertagSuffix
);
```

## 매개변수

*context*   \_In\_opt\_\
형식: void\*

이벤트 처리기에서 사용하는 데이터에 대한 선택적 포인터입니다.

*userIdentifier*   \_In\_\
형식: uint32\_t

사용자를 추가할 때 XUser에 전달된 사용자 식별자입니다.

*operation*   \_In\_\
형식: XUserPlatformOperation

이 작업의 핸들입니다.

*modernGamertag*   \_In\_z\_\
형식: char const\*

사용자의 modern gamertag입니다.

*modernGamertagSuffix*   \_In\_opt\_z\_\
형식: char const\*

modern gamertag의 접미사(있는 경우)입니다. 특정 사용자의 경우 null일 수 있습니다.

### 반환값

### 설명

이 이벤트는 사용자가 이미 다른 디바이스에 로그인되어 있어 SPOP 거부(veto)가 발생할 때 발생합니다. XUser는 사용자에게 다른 세션에서 로그아웃하고 현재 디바이스에서 로그인할지 여부를 결정하도록 프롬프트해야 합니다. 이는 SPOP 거부가 발생한 XUserAddUserWithUiAsync 호출에 대한 응답으로만 발생합니다.

modern gamertag 접미사는 특정 사용자의 경우 null일 수 있습니다.

모든 인수는 호출자가 소유합니다(context 제외).

## 요구 사항

**헤더:** XUser.h

**라이브러리:** xgameruntime.lib

**지원되는 플랫폼:** Steam Deck에서 지원됨

## 함께 보기

[XUser](/reference/system/xuser/xuser_members)

[XUserPlatformSpopPromptSetEventHandlers](/reference/system/xuser/functions/xuserplatformspoppromptseteventhandlers)

[XUserPlatformSpopPromptClearEventHandler](/reference/system/xuser/functions/xuserplatformspoppromptcleareventhandler)

[XUserPlatformSpopPromptComplete](/reference/system/xuser/functions/xuserplatformspoppromptcomplete)

[XUserPlatformSpopOperationResult](/reference/system/xuser/enums/xuserplatformspopoperationresult)


## Related topics

- [XUserPlatformSpopPromptSetEventHandlers](/ko/reference/system/xuser/functions/xuserplatformspoppromptseteventhandlers.md)
- [XUserPlatformSpopPromptClearEventHandler](/ko/reference/system/xuser/functions/xuserplatformspoppromptcleareventhandler.md)
- [XUserPlatformSpopPromptComplete](/ko/reference/system/xuser/functions/xuserplatformspoppromptcomplete.md)
- [XUserPlatformSpopOperationResult](/ko/reference/system/xuser/enums/xuserplatformspopoperationresult.md)
- [XUser](/ko/reference/system/xuser/xuser_members.md)
