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

获取有关队列的信息。

## Syntax

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

### Parameters

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

接收有关队列的信息。

### Return value

类型：void

## Remarks

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

## Requirements

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

**库：** dstorage\_xs.lib

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

## See also

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


## Related topics

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