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

# XGameProtocolActivationCallbackXGameProtocol (deprecated)

> XGameProtocolActivationCallbackXGameProtocol (deprecated)

# XGameProtocolActivationCallbackXGameProtocol (사용되지 않음)

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

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

## 구문

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

### 매개 변수

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

[XGameProtocolRegisterForActivation](/reference/system/xgameprotocol/functions/xgameprotocolregisterforactivation)에 전달하는 컨텍스트입니다.

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

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

### 반환 값

형식: void

## 설명

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

## 요구 사항

**헤더:** XGameProtocol.h

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

**지원 플랫폼:** Windows, XBOX One 계열 콘솔 및 XBOX Series 콘솔

## 함께 보기

[XGameProtocol 멤버](/reference/system/xgameprotocol/xgameprotocol_members)


## Related topics

- [XGameProtocol (deprecated)](/ko/reference/system/xgameprotocol/xgameprotocol_members.md)
- [XGameProtocolRegisterForActivation (deprecated)](/ko/reference/system/xgameprotocol/functions/xgameprotocolregisterforactivation.md)
- [XGameProtocolUnregisterForActivation (deprecated)](/ko/reference/system/xgameprotocol/functions/xgameprotocolunregisterforactivation.md)
- [XGameActivation](/ko/reference/system/xgameactivation/xgameactivation_members.md)
- [XGameActivationCallback](/ko/reference/system/xgameactivation/functions/xgameactivationcallback.md)
