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

# XGameProtocolUnregisterForActivation (사용되지 않음)

> XGameProtocolUnregisterForActivation (deprecated)

# XGameProtocolUnregisterForActivation (사용되지 않음)

> [!NOTE]
>
> 이 API는 이제 사용되지 않습니다. 대신 [XGameActivationUnregisterForEvent](https://docs.xbox.com/ko/reference/system/xgameactivation/functions/xgameactivationunregisterforevent.md)를 사용하세요.

프로토콜 활성화에 대한 콜백을 등록 해제합니다.

## 구문

```cpp theme={null}
STDAPI_(bool) XGameProtocolUnregisterForActivation(
    _In_ XTaskQueueRegistrationToken token,
    _In_ bool wait
    ) noexcept;
```

### 매개 변수

*token*   \_In\_\
형식: [XTaskQueueRegistrationToken](https://docs.xbox.com/ko/reference/system/xtaskqueue/structs/xtaskqueueregistrationtoken.md)

[XGameInviteRegisterForEvent](https://docs.xbox.com/ko/reference/system/xgameinvite/functions/xgameinviteregisterforevent.md)가 반환하는 토큰입니다.

*wait*   \_In\_\
형식: bool

보류 중인 이벤트 콜백이 완료될 때까지 대기합니다.

### 반환 값

형식: bool

*wait*이 false이고 등록 해제가 보류 중이면 false를 반환합니다. 그렇지 않으면 true를 반환합니다.

## 설명

\[!NOTE] 이 함수는 시간에 민감한 스레드에서 호출하기에 안전하지 않습니다. 자세한
내용은 [시간에 민감한 스레드](https://learn.microsoft.com/gaming/gdk/docs/gdk-dev/console-dev/overviews/threads/time-sensitive-threads)를 참조하세요.

## 요구 사항

**헤더:** XGameProtocol.h

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

**지원 플랫폼:** Windows, XBOX One 제품군 콘솔 및 XBOX Series 콘솔

## 함께 보기

[XGameProtocol 멤버](https://docs.xbox.com/ko/reference/system/xgameprotocol/xgameprotocol_members.md)


## Related topics

- [XGameProtocol (사용되지 않음)](https://docs.xbox.com/ko/reference/system/xgameprotocol/xgameprotocol_members.md)
- [XGameProtocolRegisterForActivation (사용되지 않음)](https://docs.xbox.com/ko/reference/system/xgameprotocol/functions/xgameprotocolregisterforactivation.md)
- [XGameProtocolActivationCallbackXGameProtocol (사용되지 않음)](https://docs.xbox.com/ko/reference/system/xgameprotocol/functions/xgameprotocolactivationcallback.md)
- [XGameInviteUnregisterForEvent (사용되지 않음)](https://docs.xbox.com/ko/reference/system/xgameinvite/functions/xgameinviteunregisterforevent.md)
- [XGameInvite (사용되지 않음)](https://docs.xbox.com/ko/reference/system/xgameinvite/xgameinvite_members.md)
