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

# DSTORAGE_QUEUE_INFO

> DSTORAGE_QUEUE_INFO

# DSTORAGE\_QUEUE\_INFO

DirectStorage 队列的属性和当前状态。

## Syntax

```cpp theme={null}
struct DSTORAGE_QUEUE_INFO {  
    DSTORAGE_QUEUE_DESC Desc;
    UINT16 EmptySlotCount;
    UINT16 RequestCountUntilAutoSubmit;
}  
```

### Members

*Desc*\
类型：DSTORAGE\_QUEUE\_DESC

创建队列时使用的 [DSTORAGE\_QUEUE\_DESC](/reference/system/dstorage/structs/dstorage_queue_desc) 结构。

*EmptySlotCount*\
类型：UINT16

可用空槽位的数量。如果队列为空，则空槽位数量等于容量减 1。保留的槽位用于区分“空”和“满”两种情况。

*RequestCountUntilAutoSubmit*\
类型：UINT16

触发自动提交前尚需入队的条目数量。

## Remarks

此结构由 [IDStorageQueueX::Query](/reference/system/dstorage/interfaces/IDStorageQueueX/methods/idstoragequeuex_query) 方法使用。

如果队列为空，则 *EmptySlotCount* 等于容量减 1。保留的槽位用于区分“空”和“满”两种情况。

## Requirements

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

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

## See also

[IDStorageQueueX::Query](/reference/system/dstorage/interfaces/IDStorageQueueX/methods/idstoragequeuex_query)\
[DStorage](/reference/system/dstorage/dstorage_members)


## Related topics

- [DSTORAGE_QUEUE_DESC](/zh-CN/reference/system/dstorage/structs/dstorage_queue_desc.md)
- [IDStorageQueueX::Query](/zh-CN/reference/system/dstorage/interfaces/IDStorageQueueX/methods/idstoragequeuex_query.md)
- [DStorage](/zh-CN/reference/system/dstorage/dstorage_members.md)
- [DSTORAGE_REQUEST_SOURCE_TYPE](/zh-CN/reference/system/dstorage/enums/dstorage_request_source_type.md)
- [DSTORAGE_QUEUE_INFO1](/zh-CN/reference/system/dstorage/structs/dstorage_queue_info1.md)
