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

# XGameActivationUnregisterForEvent

> XGameActivationUnregisterForEvent

# XGameActivationUnregisterForEvent

활성화 이벤트에 대한 콜백을 등록 해제합니다.

## 구문

```cpp theme={null}
bool XGameActivationUnregisterForEvent(  
         XTaskQueueRegistrationToken token,  
         bool wait  
)  
```

### 매개 변수

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

[XGameActivationRegisterForEvent](https://docs.xbox.com/ko/reference/system/xgameactivation/functions/xgameactivationregisterforevent.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)를 참조하세요.

활성화 이벤트에 대한 콜백을 등록하려면 [XGameActivationRegisterForEvent](https://docs.xbox.com/ko/reference/system/xgameactivation/functions/xgameactivationregisterforevent.md)를 호출합니다. 이 함수는 [XGameActivationCallback](https://docs.xbox.com/ko/reference/system/xgameactivation/functions/xgameactivationcallback.md)에 대한 포인터를 인수로 사용합니다.

이 함수 호출에 대한 예제는 [XGameActivationCallback](https://docs.xbox.com/ko/reference/system/xgameactivation/functions/xgameactivationcallback.md#remarks) 항목의 설명 섹션을 참조하세요.

## 요구 사항

**헤더:** XGameActivation.h

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

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

## 개념 문서

* [파일 형식 활성화](https://learn.microsoft.com/gaming/gdk/docs/gdk-dev/overviews/filetypeactivation)
* [초대 받기](https://docs.xbox.com/ko/services/xbox-services/multiplayer/invites/how-to/live-invites-receive.md)

## 함께 보기

[XGameActivation](https://docs.xbox.com/ko/reference/system/xgameactivation/xgameactivation_members.md)

[XGameActivationRegisterForEvent](https://docs.xbox.com/ko/reference/system/xgameactivation/functions/xgameactivationregisterforevent.md)

[XGameActivationCallback](https://docs.xbox.com/ko/reference/system/xgameactivation/functions/xgameactivationcallback.md)


## Related topics

- [XGameActivation (API 콘텐츠)](https://docs.xbox.com/ko/reference/system/xgameactivation/xgameactivation_members.md)
- [XGameActivationRegisterForEvent](https://docs.xbox.com/ko/reference/system/xgameactivation/functions/xgameactivationregisterforevent.md)
- [XGameActivationCallback](https://docs.xbox.com/ko/reference/system/xgameactivation/functions/xgameactivationcallback.md)
- [XGameProtocolUnregisterForActivation (사용되지 않음)](https://docs.xbox.com/ko/reference/system/xgameprotocol/functions/xgameprotocolunregisterforactivation.md)
- [XGameInviteUnregisterForEvent (사용되지 않음)](https://docs.xbox.com/ko/reference/system/xgameinvite/functions/xgameinviteunregisterforevent.md)
