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

# Query1

> IDStorageQueueX2::Query1

# IDStorageQueueX2::Query1

获取有关队列的信息。

## Syntax

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

### Parameters

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

接收有关队列的信息。

### Return value

类型：void

## Remarks

使用此方法可获取在创建队列时使用的 [DSTORAGE\_QUEUE\_DESC1](https://docs.xbox.com/zh-CN/reference/system/dstorage/structs/dstorage_queue_desc1.md) 结构。[DSTORAGE\_QUEUE\_INFO1](https://docs.xbox.com/zh-CN/reference/system/dstorage/structs/dstorage_queue_info1.md) 还提供空槽位数量，以及在该队列启用自动提交时，触发自动提交前尚需入队的条目数量。

## Requirements

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

**库：** dstorage\_xs.lib

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

## See also

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


## Related topics

- [DSTORAGE_QUEUE_INFO1](https://docs.xbox.com/zh-CN/reference/system/dstorage/structs/dstorage_queue_info1.md)
- [IDStorageQueueX2（接口内容）](https://docs.xbox.com/zh-CN/reference/system/dstorage/interfaces/IDStorageQueueX2/idstoragequeuex2.md)
