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

# XStoreQueryAssociatedProductsForStoreIdResult

> XStoreQueryAssociatedProductsForStoreIdResult

# XStoreQueryAssociatedProductsForStoreIdResult

[XStoreQueryAssociatedProductsForStoreIdAsync](/reference/system/xstore/functions/xstorequeryassociatedproductsforstoreidasync) 호출의 결과를 가져옵니다.

## 구문

```cpp theme={null}
HRESULT XStoreQueryAssociatedProductsForStoreIdResult(  
         XAsyncBlock* async,  
         XStoreProductQueryHandle* productQueryHandle  
)  
```

### 매개 변수

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

[XStoreQueryAssociatedProductsForStoreIdAsync](/reference/system/xstore/functions/xstorequeryassociatedproductsforstoreidasync)에 전달한 `XAsyncBlock`입니다. [XAsyncBlock](/reference/system/xasync/structs/xasyncblock)을 사용하여 호출 상태를 확인하고 결과를 가져올 수 있습니다.
자세한 내용은 [XAsyncBlock](/reference/system/xasync/structs/xasyncblock)을 참조하세요.

*productQueryHandle*   \_Out\_\
형식: XStoreProductQueryHandle\*

반환 시 쿼리를 나타내는 `XStoreProductQueryHandle`을 포함합니다. 반환된 `XStoreProductQueryHandle`을 [XStoreEnumerateProductsQuery](/reference/system/xstore/functions/xstoreenumerateproductsquery)에 전달하여 쿼리가 반환한 제품을 나열합니다.

### 반환 값

형식: HRESULT

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

## 설명

이 결과 함수는 [XStoreQueryAssociatedProductsForStoreIdAsync](/reference/system/xstore/functions/xstorequeryassociatedproductsforstoreidasync)의 실행 결과를 검색합니다. 결과가 성공하면 [XStoreEnumerateProductsQuery](/reference/system/xstore/functions/xstoreenumerateproductsquery)를 사용하여 열거할 수 있는 연결된 제품 목록이 포함됩니다. 이 함수는 [XStoreQueryAssociatedProductsForStoreIdAsync](/reference/system/xstore/functions/xstorequeryassociatedproductsforstoreidasync) 이후에, 일반적으로 콜백 함수의 컨텍스트에서 호출합니다.

사용 예시는 [XStoreQueryAssociatedProductsForStoreIdAsync](/reference/system/xstore/functions/xstorequeryassociatedproductsforstoreidasync)를 참조하세요.

## 요구 사항

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

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

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

## 참고 항목

[XStore](/reference/system/xstore/xstore_members)
[XStoreQueryAssociatedProductsForStoreIdAsync](/reference/system/xstore/functions/xstorequeryassociatedproductsforstoreidasync)\
[XStoreQueryEntitledProductsAsync](/reference/system/xstore/functions/xstorequeryentitledproductsasync)\
[XStoreQueryProductsAsync](/reference/system/xstore/functions/xstorequeryproductsasync)\
[XStoreQueryProductForCurrentGameAsync](/reference/system/xstore/functions/xstorequeryproductforcurrentgameasync)\
[XStoreQueryProductForPackageAsync](/reference/system/xstore/functions/xstorequeryproductforpackageasync)


## Related topics

- [XStore](/ko/reference/system/xstore/xstore_members.md)
- [XStoreQueryAssociatedProductsResult](/ko/reference/system/xstore/functions/xstorequeryassociatedproductsresult.md)
- [XStoreQueryProductsResult](/ko/reference/system/xstore/functions/xstorequeryproductsresult.md)
- [XStoreQueryProductForPackageResult](/ko/reference/system/xstore/functions/xstorequeryproductforpackageresult.md)
- [XStoreQueryEntitledProductsResult](/ko/reference/system/xstore/functions/xstorequeryentitledproductsresult.md)
