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

# 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](https://docs.xbox.com/zh-CN/reference/system/dstorage/enums/dstorage_request_source_type.md)

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

*Capacity*\
类型：UINT16

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

*Priority*\
类型：[DSTORAGE\_PRIORITY](https://docs.xbox.com/zh-CN/reference/system/dstorage/enums/dstorage_priority.md)

此队列中请求的优先级。

*Name*\
类型：const CHAR \*

队列的名称。

## Remarks

此结构由 [IDStorageFactoryX::CreateQueue](https://docs.xbox.com/zh-CN/reference/system/dstorage/interfaces/IDStorageFactoryX/methods/idstoragefactoryx_createqueue.md) 方法使用，并出现在 [DSTORAGE\_QUEUE\_INFO](https://docs.xbox.com/zh-CN/reference/system/dstorage/structs/dstorage_queue_info.md) 结构中。

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

有关详细信息，请参阅 [DirectStorage 概述](https://docs.xbox.com/zh-CN/build/console-features/storage/directstorage/directstorage-overview.md) 中的“IDStorageQueueX”一节。

## Requirements

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

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

## See also

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


## Related topics

- [DSTORAGE_QUEUE_INFO](https://docs.xbox.com/zh-CN/reference/system/dstorage/structs/dstorage_queue_info.md)
- [CreateQueue](https://docs.xbox.com/zh-CN/reference/system/dstorage/interfaces/IDStorageFactoryX/methods/idstoragefactoryx_createqueue.md)
- [DSTORAGE_REQUEST_SOURCE_TYPE](https://docs.xbox.com/zh-CN/reference/system/dstorage/enums/dstorage_request_source_type.md)
- [DSTORAGE_PRIORITY](https://docs.xbox.com/zh-CN/reference/system/dstorage/enums/dstorage_priority.md)
- [DStorage（API 内容）](https://docs.xbox.com/zh-CN/reference/system/dstorage/dstorage_members.md)
