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

# XGameProtocolActivationCallbackXGameProtocol (사용되지 않음)

> XGameProtocolActivationCallbackXGameProtocol (deprecated)

# XGameProtocolActivationCallbackXGameProtocol (사용되지 않음)

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

프로토콜 활성화 이벤트에 대해 애플리케이션이 정의하는 콜백입니다.

## 구문

```cpp theme={null}
typedef void CALLBACK XGameProtocolActivationCallback(
    _In_opt_ void* context,
    _In_ const char* protocolUri
    );
```

### 매개 변수

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

[XGameProtocolRegisterForActivation](https://docs.xbox.com/ko/reference/system/xgameprotocol/functions/xgameprotocolregisterforactivation.md)에 전달하는 컨텍스트입니다.

*protocolUri*   \_In\_\
형식: char\*

프로토콜 활성화를 호출하는 데 사용된 URI입니다. 게임은 이를 구문 분석하여 게임에 전달되는 매개 변수를 결정할 수 있습니다.

### 반환 값

형식: void

## 설명

게임 초대 이벤트에 대한 콜백을 등록하려면
[XGameProtocolRegisterForActivation](https://docs.xbox.com/ko/reference/system/xgameprotocol/functions/xgameprotocolregisterforactivation.md)을 호출합니다. 프로토콜 활성화에 대한 콜백을 등록 해제하려면 [XGameProtocolUnregisterForEvent](https://docs.xbox.com/ko/reference/system/xgameprotocol/functions/xgameprotocolunregisterforactivation.md)를 호출합니다.

## 요구 사항

**헤더:** 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)
- [XGameProtocolUnregisterForActivation (사용되지 않음)](https://docs.xbox.com/ko/reference/system/xgameprotocol/functions/xgameprotocolunregisterforactivation.md)
- [XGameInviteEventCallback (사용되지 않음)](https://docs.xbox.com/ko/reference/system/xgameinvite/functions/xgameinviteeventcallback.md)
- [XGameInvite (사용되지 않음)](https://docs.xbox.com/ko/reference/system/xgameinvite/xgameinvite_members.md)
