> ## 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.

# XGameProtocolUnregisterForActivation (deprecated)

> XGameProtocolUnregisterForActivation (deprecated)

# XGameProtocolUnregisterForActivation (사용되지 않음)

<Info>이 API는 이제 사용되지 않습니다. 대신 [XGameActivationUnregisterForEvent](/reference/system/xgameactivation/functions/xgameactivationunregisterforevent)를 사용하세요.</Info>

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

## 구문

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

### 매개 변수

*token*   \_In\_\
형식: [XTaskQueueRegistrationToken](/reference/system/xtaskqueue/structs/xtaskqueueregistrationtoken)

[XGameInviteRegisterForEvent](/reference/system/xgameinvite/functions/xgameinviteregisterforevent)가 반환하는 토큰입니다.

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

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

### 반환 값

형식: bool

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

## 설명

<Note>이 함수는 시간에 민감한 스레드에서 호출하기에 안전하지 않습니다. 자세한</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 멤버](/reference/system/xgameprotocol/xgameprotocol_members)


## Related topics

- [XGameProtocolActivationCallbackXGameProtocol (deprecated)](/ko/reference/system/xgameprotocol/functions/xgameprotocolactivationcallback.md)
- [XGameProtocolRegisterForActivation (deprecated)](/ko/reference/system/xgameprotocol/functions/xgameprotocolregisterforactivation.md)
- [XGameProtocol (deprecated)](/ko/reference/system/xgameprotocol/xgameprotocol_members.md)
- [XGameActivation](/ko/reference/system/xgameactivation/xgameactivation_members.md)
- [XGameInviteUnregisterForEvent (deprecated)](/ko/reference/system/xgameinvite/functions/xgameinviteunregisterforevent.md)
