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

> DSTORAGE_QUEUE_DESC1

# DSTORAGE\_QUEUE\_DESC1

DirectStorage 佇列的屬性。

## 語法

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

### 成員

*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 \*

佇列的名稱。

*Options*
類型：[DSTORAGE\_QUEUE\_OPTIONS](/zh-TW/reference/system/dstorage/structs/dstorage_queue_options)

與此佇列相關聯的選項。

## 備註

此結構由 [IDStorageFactoryX::CreateQueue1](/zh-TW/reference/system/dstorage/interfaces/IDStorageFactoryX2/methods/idstoragefactoryx_createqueue1) 方法使用，並出現在 [DSTORAGE\_QUEUE\_INFO1](/zh-TW/reference/system/dstorage/structs/dstorage_queue_info1) 結構中。

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

options 結構可以停用 DirectStorage 佇列的自動提交功能。

如需詳細資訊，請參閱 [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_DESC1](/reference/system/dstorage/structs/dstorage_queue_desc1.md)
- [DSTORAGE_QUEUE_INFO1](/reference/system/dstorage/structs/dstorage_queue_info1.md)
