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

# XStoreAcquireLicenseForDurablesResult

> XStoreAcquireLicenseForDurablesResult

# XStoreAcquireLicenseForDurablesResult

[XStoreAcquireLicenseForDurablesAsync](/reference/system/xstore/functions/xstoreacquirelicensefordurablesasync) 호출의 결과를 검색합니다.

<a id="syntaxSection" />

## 구문

```cpp theme={null}
HRESULT XStoreAcquireLicenseForDurablesResult(
         XAsyncBlock* async,
         XStoreLicenseHandle* storeLicenseHandle
)
```

<a id="parametersSection" />

### 매개 변수

*async*   \_Inout\_\
형식: XAsyncBlock\*

[XStoreAcquireLicenseForDurablesAsync](/reference/system/xstore/functions/xstoreacquirelicensefordurablesasync)에 전달된 `XAsyncBlock` 개체입니다.

*storeLicenseHandle*   \_Out\_\
형식: XStoreLicenseHandle\*

성공 시 스토어 라이선스에 대한 핸들을 포함합니다.
획득한 라이선스 핸들을 [XStoreIsLicenseValid](/reference/system/xstore/functions/xstoreislicensevalid)에 전달하여 라이선스가 유효한지 확인합니다.

<a id="retvalSection" />

### 반환 값

형식: HRESULT

성공하면 **S\_OK**를 반환하고, 그렇지 않으면 오류 코드를 반환합니다.

`XStoreAcquireLicenseForDurablesResult`는 다음 오류 코드를 반환할 수 있습니다.

| 오류 코드                                                   | 설명                                                                              |
| ------------------------------------------------------- | ------------------------------------------------------------------------------- |
| 0x87E10BC6 `LM_E_CONTENT_NOT_IN_CATALOG`                | 카탈로그에서 제품을 찾을 수 없습니다.                                                           |
| 0x803F8001 `LM_E_CONTENT_NOT_OWNED`                     | 제품이 소유되지 않았습니다.                                                                 |
| 0x803F8008 `LM_E_PREDOWNLOAD_LICENSE_NOT_YET_AVAILABLE` | 제품이 소유되어 있지만 아직 릴리스되지 않았기 때문에 라이선스를 부여할 수 없습니다.                                 |
| 0x803F9006 `LM_E_ENTITLED_USER_SIGNED_OUT`              | 제품 소유자가 로그인되어 있지 않습니다.                                                          |
| 0x89245305 `E_GAMESTORE_LICENSE_ACTION_THROTTLED`       | 게임이 제품에 대한 라이선스를 지나치게 많이 쿼리하여 이제 제한됩니다. 동일한 제품에 대해 10분 이내에 30번의 라이선스 시도로 제한됩니다. |

<a id="remarksSection" />

## 설명

이 함수는 시간에 민감한 스레드에서 호출합니다.

[XAsyncBlock](/reference/system/xasync/structs/xasyncblock) 구조체에는 호출 결과가 포함됩니다.
[XAsyncBlock](/reference/system/xasync/structs/xasyncblock) 개체를 사용하여 함수 호출 상태를 폴링하고 결과를 검색합니다.
지정된 Durable에 대한 라이선스를 획득하려면 [XStoreAcquireLicenseForDurablesAsync](/reference/system/xstore/functions/xstoreacquirelicensefordurablesasync)를 호출합니다.

<a id="requirementsSection" />

## 요구 사항

**헤더:** XStore.h

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

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

<a id="seealsoSection" />

## 개념 설명서

* [Granting players access to add-on content](https://learn.microsoft.com/gaming/gdk/docs/store/commerce/fundamentals/xstore-granting-access-to-content)

## 참고 항목

[XStore](/reference/system/xstore/xstore_members)\
[XAsyncBlock](/reference/system/xasync/structs/xasyncblock)\
[XStoreAcquireLicenseForDurablesAsync](/reference/system/xstore/functions/xstoreacquirelicensefordurablesasync)\
[How to use a durable without a package](https://learn.microsoft.com/gaming/gdk/docs/store/commerce/fundamentals/xstore-dwobs)\
[Granting players access to add-on content](https://learn.microsoft.com/gaming/gdk/docs/store/commerce/fundamentals/xstore-granting-access-to-content)


## Related topics

- [XStoreAcquireLicenseForDurablesAsync](/ko/reference/system/xstore/functions/xstoreacquirelicensefordurablesasync.md)
- [XStoreIsLicenseValid](/ko/reference/system/xstore/functions/xstoreislicensevalid.md)
- [XStore](/ko/reference/system/xstore/xstore_members.md)
- [GDK용 Unity C# API 래퍼](/ko/build/gdk-and-engines/unity/unity-api-wrappers.md)
- [XStoreCanAcquireLicenseForStoreIdResult](/ko/reference/system/xstore/functions/xstorecanacquirelicenseforstoreidresult.md)
