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

> DSTORAGE_QUEUE_DESC

# DSTORAGE\_QUEUE\_DESC

DirectStorage 队列的属性。

## Syntax

```cpp theme={null}
typedef struct DSTORAGE_QUEUE_DESC {  
    DSTORAGE_REQUEST_SOURCE_TYPE SourceType;  
    UINT16 Capacity;  
    DSTORAGE_PRIORITY Priority;  
    const CHAR *Name;  
} DSTORAGE_QUEUE_DESC  
```

### Members

*SourceType*\
类型：[DSTORAGE\_REQUEST\_SOURCE\_TYPE](/reference/system/dstorage/enums/dstorage_request_source_type)

队列可接受的请求源类型。

*Capacity*\
类型：UINT16

该队列可容纳的最大请求数。此值必须介于 `DSTORAGE_MIN_QUEUE_CAPACITY` 和 `DSTORAGE_MAX_QUEUE_CAPACITY` 的值之间。

*Priority*\
类型：[DSTORAGE\_PRIORITY](/reference/system/dstorage/enums/dstorage_priority)

此队列中请求的优先级。

*Name*\
类型：const CHAR \*

队列的名称。

## Remarks

此结构由 [IDStorageFactoryX::CreateQueue](/reference/system/dstorage/interfaces/IDStorageFactoryX/methods/idstoragefactoryx_createqueue) 方法使用，并出现在 [DSTORAGE\_QUEUE\_INFO](/reference/system/dstorage/structs/dstorage_queue_info) 结构中。

*Name* 成员是可选的，用于调试。

有关详细信息，请参阅 [DirectStorage 概述](/build/console-features/storage/directstorage/directstorage-overview) 中的“IDStorageQueueX”一节。

## Requirements

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

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

## See also

[DStorage](/reference/system/dstorage/dstorage_members)


## Related topics

- [DSTORAGE_QUEUE_INFO](/zh-CN/reference/system/dstorage/structs/dstorage_queue_info.md)
- [DStorage](/zh-CN/reference/system/dstorage/dstorage_members.md)
- [IDStorageFactoryX::CreateQueue](/zh-CN/reference/system/dstorage/interfaces/IDStorageFactoryX/methods/idstoragefactoryx_createqueue.md)
- [IDStorageQueueX::Query](/zh-CN/reference/system/dstorage/interfaces/IDStorageQueueX/methods/idstoragequeuex_query.md)
- [DSTORAGE_REQUEST_SOURCE_TYPE](/zh-CN/reference/system/dstorage/enums/dstorage_request_source_type.md)
