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

# Query

> IDStorageQueueX::Query

# IDStorageQueueX::Query

取得佇列的相關資訊。

## 語法

```cpp theme={null}
void Query(
    DSTORAGE_QUEUE_INFO *info
)
```

### 參數

*info*   \_Out\_\
類型：[DSTORAGE\_QUEUE\_INFO](https://docs.xbox.com/zh-TW/reference/system/dstorage/structs/dstorage_queue_info.md) \*

接收佇列的相關資訊。

### 傳回值

類型：void

## 備註

使用此方法來取得建立佇列時所使用的 [DSTORAGE\_QUEUE\_DESC](https://docs.xbox.com/zh-TW/reference/system/dstorage/structs/dstorage_queue_desc.md) 結構。[DSTORAGE\_QUEUE\_INFO](https://docs.xbox.com/zh-TW/reference/system/dstorage/structs/dstorage_queue_info.md) 也會提供空位數目，以及觸發自動提交所需加入佇列的項目數目。(當佇列半滿時，就會發生自動提交。)

## 需求

**標頭：** dstorage\_xs.h

**程式庫：** dstorage\_xs.lib

**支援的平台：** XBOX Series 主機

## 另請參閱

[IDStorageQueueX](https://docs.xbox.com/zh-TW/reference/system/dstorage/interfaces/IDStorageQueueX/idstoragequeuex.md)\
[DStorage](https://docs.xbox.com/zh-TW/reference/system/dstorage/dstorage_members.md)


## Related topics

- [/handles/query](https://docs.xbox.com/zh-TW/reference/live/rest/uri/sessiondirectory/uri-handlesquery.md)
- [QueryContainers](https://docs.xbox.com/zh-TW/reference/system/Wrappers/classes/provider/methods/xgamesave_wrapper_provider_querycontainers.md)
- [BeginQuery](https://docs.xbox.com/zh-TW/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_beginquery_public.md)
- [EndQuery](https://docs.xbox.com/zh-TW/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_endquery_public.md)
- [POST (/handles/query)](https://docs.xbox.com/zh-TW/reference/live/rest/uri/sessiondirectory/uri-handlesquerypost.md)
