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

# IDStorageQueueX::Query

> IDStorageQueueX::Query

# IDStorageQueueX::Query

取得佇列的相關資訊。

## 語法

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

### 參數

*info*   \_Out\_\
類型：[DSTORAGE\_QUEUE\_INFO](/zh-TW/reference/system/dstorage/structs/dstorage_queue_info) \*

接收佇列的相關資訊。

### 傳回值

類型：void

## 備註

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

## 需求

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

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

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

## 另請參閱

[IDStorageQueueX](/zh-TW/reference/system/dstorage/interfaces/IDStorageQueueX/idstoragequeuex)\
[DStorage](/zh-TW/reference/system/dstorage/dstorage_members)


## Related topics

- [IDStorageQueueX::Query](/reference/system/dstorage/interfaces/IDStorageQueueX/methods/idstoragequeuex_query.md)
- [DSTORAGE_QUEUE_INFO](/reference/system/dstorage/structs/dstorage_queue_info.md)
- [IDStorageQueueX](/reference/system/dstorage/interfaces/IDStorageQueueX/idstoragequeuex.md)
