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

# XStoreQueryLicenseTokenResultSize

> XStoreQueryLicenseTokenResultSize

# XStoreQueryLicenseTokenResultSize

[XstoreQueryLicenseTokenResult](/reference/system/xstore/functions/xstorequerylicensetokenresult)에서 반환할 결과의 크기를 가져옵니다.

## 구문

```cpp theme={null}
HRESULT XStoreQueryLicenseTokenResultSize(  
         XAsyncBlock* async,  
         size_t* size  
)  
```

### 매개 변수

*async*   \_In\_\
형식: [XAsyncBlock\*](/reference/system/xasync/structs/xasyncblock)

[XStoreQueryLicenseTokenAsync](/reference/system/xstore/functions/xstorequerylicensetokenasync)에 전달된 XAsyncBlock 블록입니다. [XAsyncBlock](/reference/system/xasync/structs/xasyncblock)을 사용하여 호출 상태를 폴링하고 호출 결과를 검색할 수 있습니다. 자세한 내용은 [XAsyncBlock](/reference/system/xasync/structs/xasyncblock)을 참조하세요.

*size*   \_Out\_\
형식: size\_t\*

성공 시 [XStoreQueryLicenseTokenResult](/reference/system/xstore/functions/xstorequerylicensetokenresult)에서 반환할 결과의 크기를 포함합니다.

### 반환 값

형식: HRESULT

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

## 설명

이 결과 함수를 사용하면 [XStoreQueryLicenseTokenAsync](/reference/system/xstore/functions/xstorequerylicensetokenasync)가 호출될 때의 JSON 웹 토큰의 크기를 검색할 수 있습니다. 따라서 이 함수는 [XStoreQueryLicenseTokenAsync](/reference/system/xstore/functions/xstorequerylicensetokenasync)를 호출한 후, 일반적으로 콜백 함수의 컨텍스트에서 호출해야 합니다. 사용 예시는 [XStoreQueryLicenseTokenAsync](/reference/system/xstore/functions/xstorequerylicensetokenasync)를 참조하세요.

## 요구 사항

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

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

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

## 참고 항목

[XStore](/reference/system/xstore/xstore_members)\
[XStoreQueryLicenseTokenAsync](/reference/system/xstore/functions/xstorequerylicensetokenasync)\
[XStoreQueryLicenseTokenResult](/reference/system/xstore/functions/xstorequerylicensetokenresult)


## Related topics

- [XStoreQueryLicenseTokenResult](/ko/reference/system/xstore/functions/xstorequerylicensetokenresult.md)
- [XStoreQueryLicenseTokenAsync](/ko/reference/system/xstore/functions/xstorequerylicensetokenasync.md)
- [XStore](/ko/reference/system/xstore/xstore_members.md)
- [GDK용 Unity C# API 래퍼](/ko/build/gdk-and-engines/unity/unity-api-wrappers.md)
- [XStoreQueryGameLicenseResult](/ko/reference/system/xstore/functions/xstorequerygamelicenseresult.md)
