> ## 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 佇列的屬性。

## 語法

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

### 成員

*SourceType*\
類型：[DSTORAGE\_REQUEST\_SOURCE\_TYPE](/zh-TW/reference/system/dstorage/enums/dstorage_request_source_type)

佇列可接受之要求的來源類型。

*Capacity*\
類型：UINT16

此佇列可容納的要求數目上限。此值必須介於 `DSTORAGE_MIN_QUEUE_CAPACITY` 與 `DSTORAGE_MAX_QUEUE_CAPACITY` 的值之間。

*Priority*\
類型：[DSTORAGE\_PRIORITY](/zh-TW/reference/system/dstorage/enums/dstorage_priority)

此佇列中要求的優先順序。

*Name*\
類型：const CHAR \*

佇列的名稱。

## 備註

此結構由 [IDStorageFactoryX::CreateQueue](/zh-TW/reference/system/dstorage/interfaces/IDStorageFactoryX/methods/idstoragefactoryx_createqueue) 方法使用，並出現在 [DSTORAGE\_QUEUE\_INFO](/zh-TW/reference/system/dstorage/structs/dstorage_queue_info) 結構中。

*Name* 成員是選擇性的，用於偵錯。

如需詳細資訊，請參閱 [DirectStorage 概觀](/zh-TW/build/console-features/storage/directstorage/directstorage-overview)中的「IDStorageQueueX」章節。

## 需求

**標頭：** dstorage\_xs.h

**支援的平台：** XBOX Series 主機

## 另請參閱

[DStorage](/zh-TW/reference/system/dstorage/dstorage_members)


## Related topics

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