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

获取有关队列的信息。

## Syntax

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

### Parameters

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

接收有关队列的信息。

### Return value

类型：void

## Remarks

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

## Requirements

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

**库：** dstorage\_xs.lib

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

## See also

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


## Related topics

- [DSTORAGE_QUEUE_INFO1](/zh-CN/reference/system/dstorage/structs/dstorage_queue_info1.md)
- [IDStorageQueueX2](/zh-CN/reference/system/dstorage/interfaces/IDStorageQueueX2/idstoragequeuex2.md)
- [DirectStorage 概述](/zh-CN/build/console-features/storage/directstorage/directstorage-overview.md)
- [IDStorageFactoryX2::CreateQueue1](/zh-CN/reference/system/dstorage/interfaces/IDStorageFactoryX2/methods/idstoragefactoryx_createqueue1.md)
- [DStorage](/zh-CN/reference/system/dstorage/dstorage_members.md)
