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

> DSTORAGE_QUEUE_OPTIONS

# DSTORAGE\_QUEUE\_OPTIONS

DirectStorage キューのオプション。

## 構文

```cpp theme={null}
union DSTORAGE_QUEUE_OPTIONS {
    struct {
        UINT64 AutoSubmitDisabled : 1;
        UINT64 Reserved : 63;  
    };
    UINT64 AsUINT64;
};
```

### メンバー

*AutoSubmitDisabled*

この値を 1 に設定すると、DirectStorage キューの自動送信機能が無効になります。

*Reserved*

予約済み。0 である必要があります。

## 解説

この構造体は、[IDStorageFactoryX2::CreateQueue1](/reference/system/dstorage/interfaces/IDStorageFactoryX2/methods/idstoragefactoryx_createqueue1) メソッドによって使用され、[DSTORAGE\_QUEUE\_INFO1](/reference/system/dstorage/structs/dstorage_queue_info1) 構造体に含まれます。

*警告:* キューに対して自動送信機能を**無効**にすると、キューが容量に達している場合の動作が変わります。フル状態のキューに対して Enqueue() 要求を試みると、Enqueue() を呼び出しているスレッドが***停止***し、Submit() がキューで呼び出されて容量が空くまで応答不能になります。Submit() の呼び出しは、Enqueue() とは異なるスレッドから実行する必要があります。

このような状況が発生した場合、[DSTORAGE\_DEBUG\_SHOW\_ERRORS](/reference/system/dstorage/enums/dstorage_debug) フラグが有効になっているとエラー メッセージが表示されます。

詳細については、[DirectStorage の概要](/build/console-features/storage/directstorage/directstorage-overview) の「IDStorageQueueX2」セクションを参照してください。

## 要件

**ヘッダー:** dstorage\_xs.h

**サポートされているプラットフォーム:** XBOX Series 本体

## 関連項目

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


## Related topics

- [DSTORAGE_QUEUE_DESC1](/ja-jp/reference/system/dstorage/structs/dstorage_queue_desc1.md)
- [DStorage](/ja-jp/reference/system/dstorage/dstorage_members.md)
- [DSTORAGE_REQUEST_OPTIONS](/ja-jp/reference/system/dstorage/structs/dstorage_request_options.md)
- [DSTORAGE_QUEUE_DESC](/ja-jp/reference/system/dstorage/structs/dstorage_queue_desc.md)
- [DSTORAGE_QUEUE_INFO](/ja-jp/reference/system/dstorage/structs/dstorage_queue_info.md)
