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

> IDStorageFactoryX2

# IDStorageFactoryX2

静的な DirectStorage ファクトリー オブジェクトを表します。
[IDStorageFactoryX1](/reference/system/dstorage/interfaces/IDStorageFactoryX1/idstoragefactoryx1) インターフェイスを拡張します。

## 構文

```cpp theme={null}
class IDStorageFactoryX2 : public IDStorageFactoryX1  
```

## メソッド

| メソッド                                                                                                            | 説明                              |
| --------------------------------------------------------------------------------------------------------------- | ------------------------------- |
| [CreateQueue1](/reference/system/dstorage/interfaces/IDStorageFactoryX2/methods/idstoragefactoryx_createqueue1) | DirectStorage キュー オブジェクトを作成します。 |

## 解説

DirectStorage キューの作成、DirectStorage アクセス用のファイルを開く、およびグローバル操作の実行には、DirectStorage ファクトリー オブジェクトを使用します。

`IDStorageFactoryX2` シングルトンへのポインターを取得するには、[DStorageGetFactory](/reference/system/dstorage/functions/dstoragegetfactory) を使用します。

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

## 要件

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

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

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

## 関連項目

[IDStorageFactoryX](/reference/system/dstorage/interfaces/IDStorageFactoryX/idstoragefactoryx)\
[IDStorageFactoryX1](/reference/system/dstorage/interfaces/IDStorageFactoryX1/idstoragefactoryx1)\
[DStorageGetFactory](/reference/system/dstorage/functions/dstoragegetfactory)\
[DStorage](/reference/system/dstorage/dstorage_members)


## Related topics

- [DirectStorage の概要](/ja-jp/build/console-features/storage/directstorage/directstorage-overview.md)
- [IDStorageFactoryX2::CreateQueue1](/ja-jp/reference/system/dstorage/interfaces/IDStorageFactoryX2/methods/idstoragefactoryx_createqueue1.md)
- [IDStorageQueueX2](/ja-jp/reference/system/dstorage/interfaces/IDStorageQueueX2/idstoragequeuex2.md)
- [DStorageGetFactory](/ja-jp/reference/system/dstorage/functions/dstoragegetfactory.md)
- [DStorage](/ja-jp/reference/system/dstorage/dstorage_members.md)
