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

获取有关队列的信息。

## Syntax

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

### Parameters

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

接收有关队列的信息。

### Return value

类型：void

## Remarks

使用此方法可获取在创建队列时使用的 [DSTORAGE\_QUEUE\_DESC](/reference/system/dstorage/structs/dstorage_queue_desc) 结构。[DSTORAGE\_QUEUE\_INFO](/reference/system/dstorage/structs/dstorage_queue_info) 还提供空槽位数量，以及触发自动提交前尚需入队的条目数量。（当队列半满时会发生自动提交。）

## Requirements

**头文件：** dstorage\_xs.h

**库：** dstorage\_xs.lib

**受支持的平台：** XBOX Series 主机

## See also

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


## Related topics

- [DSTORAGE_QUEUE_INFO](/zh-CN/reference/system/dstorage/structs/dstorage_queue_info.md)
- [IDStorageQueueX](/zh-CN/reference/system/dstorage/interfaces/IDStorageQueueX/idstoragequeuex.md)
- [IDStorageQueueX2::Query1](/zh-CN/reference/system/dstorage/interfaces/IDStorageQueueX2/methods/idstoragequeuex_query1.md)
- [IDStorageQueueX::Close](/zh-CN/reference/system/dstorage/interfaces/IDStorageQueueX/methods/idstoragequeuex_close.md)
- [IDStorageQueueX::Submit](/zh-CN/reference/system/dstorage/interfaces/IDStorageQueueX/methods/idstoragequeuex_submit.md)
