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

# XStoreQueryGameLicenseResult

> XStoreQueryGameLicenseResult

# XStoreQueryGameLicenseResult

[XStoreQueryGameLicenseAsync](https://docs.xbox.com/ko/reference/system/xstore/functions/xstorequerygamelicenseasync.md) 호출의 결과를 가져옵니다.

## 구문

```cpp theme={null}
HRESULT XStoreQueryGameLicenseResult(  
         XAsyncBlock* async,  
         XStoreGameLicense* license  
)  
```

### 매개 변수

*async*   \_Inout\_\
형식: [XAsyncBlock\*](https://docs.xbox.com/ko/reference/system/xasync/structs/xasyncblock.md)

[XStoreQueryGameLicenseAsync](https://docs.xbox.com/ko/reference/system/xstore/functions/xstorequerygamelicenseasync.md)에 전달된 XAsyncBlock입니다. [XAsyncBlock](https://docs.xbox.com/ko/reference/system/xasync/structs/xasyncblock.md)을 사용하여 호출 상태를 폴링하고 호출 결과를 검색할 수 있습니다. 자세한 내용은 [XAsyncBlock](https://docs.xbox.com/ko/reference/system/xasync/structs/xasyncblock.md)을 참조하세요.

*license*   \_Out\_\
형식: [XStoreGameLicense\*](https://docs.xbox.com/ko/reference/system/xstore/structs/xstoregamelicense.md)

성공 시 게임 라이선스를 포함합니다.

### 반환 값

형식: HRESULT

HRESULT 성공 또는 오류 코드입니다.

## 설명

이 결과 함수를 사용하면 [XStoreQueryGameLicenseAsync](https://docs.xbox.com/ko/reference/system/xstore/functions/xstorequerygamelicenseasync.md)의 실행 결과와, 실행이 성공한 경우 게임 실행에 대한 라이선스를 검색할 수 있습니다. 따라서 이 함수는 [XStoreQueryGameLicenseAsync](https://docs.xbox.com/ko/reference/system/xstore/functions/xstorequerygamelicenseasync.md)를 호출한 후, 일반적으로 콜백 함수의 컨텍스트에서 호출해야 합니다.

사용 예시는 [XStoreQueryGameLicenseAsync](https://docs.xbox.com/ko/reference/system/xstore/functions/xstorequerygamelicenseasync.md)를 참조하세요.

## 요구 사항

**헤더:** XStore.h (XGameRuntime.h에 포함됨)

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

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

## 참고 항목

[XStore](https://docs.xbox.com/ko/reference/system/xstore/xstore_members.md)\
[XStoreQueryGameLicenseAsync](https://docs.xbox.com/ko/reference/system/xstore/functions/xstorequerygamelicenseasync.md)


## Related topics

- [XStoreGameLicense](https://docs.xbox.com/ko/reference/system/xstore/structs/xstoregamelicense.md)
- [XStoreQueryGameLicenseAsync](https://docs.xbox.com/ko/reference/system/xstore/functions/xstorequerygamelicenseasync.md)
- [XStore (API 콘텐츠)](https://docs.xbox.com/ko/reference/system/xstore/xstore_members.md)
- [Unity 프로젝트에서 GDK API용 C# 래퍼 사용](https://docs.xbox.com/ko/build/gdk-and-engines/unity/unity-api-wrappers.md)
- [사용자 인증과 소유권](https://docs.xbox.com/ko/build/steam-porting-guide/features/user-authentication-and-ownership.md)
