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

# IDStorageQueueX2::Query1

> IDStorageQueueX2::Query1

# IDStorageQueueX2::Query1

取得佇列的相關資訊。

## 語法

```cpp theme={null}
void Query1(
    DSTORAGE_QUEUE_INFO1 *info
)
```

### 參數

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

接收佇列的相關資訊。

### 傳回值

類型：void

## 備註

使用此方法來取得建立佇列時所使用的 [DSTORAGE\_QUEUE\_DESC1](/zh-TW/reference/system/dstorage/structs/dstorage_queue_desc1) 結構。[DSTORAGE\_QUEUE\_INFO1](/zh-TW/reference/system/dstorage/structs/dstorage_queue_info1) 也會提供空位數目，以及觸發自動提交所需加入佇列的項目數目 (如果此佇列已啟用自動提交)。

## 需求

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

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

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

## 另請參閱

[IDStorageQueueX2](/zh-TW/reference/system/dstorage/interfaces/IDStorageQueueX2/idstoragequeuex2)\
[DStorage](/zh-TW/reference/system/dstorage/dstorage_members)


## Related topics

- [IDStorageQueueX2::Query1](/reference/system/dstorage/interfaces/IDStorageQueueX2/methods/idstoragequeuex_query1.md)
- [DSTORAGE_QUEUE_INFO1](/reference/system/dstorage/structs/dstorage_queue_info1.md)
