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

# IDStorageFactoryX2::CreateQueue1

> IDStorageFactoryX2::CreateQueue1

# IDStorageFactoryX2::CreateQueue1

DirectStorage キュー オブジェクトを作成します。

## 構文

```cpp theme={null}
HRESULT CreateQueue1(  
         const DSTORAGE_QUEUE_DESC1 *desc,  
         REFIID riid,  
         void **ppv  
)  
```

### パラメーター

*desc*\
Type: [DSTORAGE\_QUEUE\_DESC1](/reference/system/dstorage/structs/dstorage_queue_desc1) \*

作成されたキューの自動送信機能を無効にする機能を含む、キューのプロパティを指定するディスクリプター。

*riid*\
Type: REFIID

`__uuidof(IDStorageQueueX2)` などの DirectStorage キュー インターフェイスを指定します。

*ppv*   \_COM\_Outptr\_\
Type: void \*\*

作成されたオブジェクトへのポインターを返します。

### 戻り値

Type: HRESULT

標準の HRESULT エラー コード。

## 解説

DirectStorage キューは、タイトルがキューで [Submit](/reference/system/dstorage/interfaces/IDStorageQueueX/methods/idstoragequeuex_submit) を呼び出すまで読み取り要求を保持します。DirectStorage キュー内のすべてのエントリは、キューに入れられた順序で完了します。

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

## 要件

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

**ライブラリ:** dstorage\_xs.lib

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

## 関連項目

[IDStorageFactoryX2](/reference/system/dstorage/interfaces/IDStorageFactoryX2/idstoragefactoryx2)\
[DStorage](/reference/system/dstorage/dstorage_members)


## Related topics

- [IDStorageQueueX2](/ja-jp/reference/system/dstorage/interfaces/IDStorageQueueX2/idstoragequeuex2.md)
- [DSTORAGE_QUEUE_OPTIONS](/ja-jp/reference/system/dstorage/structs/dstorage_queue_options.md)
- [IDStorageFactoryX2](/ja-jp/reference/system/dstorage/interfaces/IDStorageFactoryX2/idstoragefactoryx2.md)
- [DirectStorage の概要](/ja-jp/build/console-features/storage/directstorage/directstorage-overview.md)
- [DStorageGetFactory](/ja-jp/reference/system/dstorage/functions/dstoragegetfactory.md)
