> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# IDStorageFactoryX (インターフェイスの内容)

> IDStorageFactoryX

# IDStorageFactoryX

静的な DirectStorage ファクトリ オブジェクトを表します。

## 構文

```cpp theme={null}
class IDStorageFactoryX : public IUnknown  
```

## メソッド

| メソッド | 説明 |
| - | - |
| [CreateQueue](https://docs.xbox.com/ja-jp/reference/system/dstorage/interfaces/IDStorageFactoryX/methods/idstoragefactoryx_createqueue.md) | DirectStorage キュー オブジェクトを作成します。 |
| [CreateStatusArray](https://docs.xbox.com/ja-jp/reference/system/dstorage/interfaces/IDStorageFactoryX/methods/idstoragefactoryx_createstatusarray.md) | DirectStorage ステータス配列オブジェクトを作成します。 |
| [OpenFile](https://docs.xbox.com/ja-jp/reference/system/dstorage/interfaces/IDStorageFactoryX/methods/idstoragefactoryx_openfile.md) | DirectStorage アクセス用にファイルを開きます。 |
| [SetCpuAffinity](https://docs.xbox.com/ja-jp/reference/system/dstorage/interfaces/IDStorageFactoryX/methods/idstoragefactoryx_setcpuaffinity.md) | DirectStorage 用の CPU アフィニティ マスクを設定します。 |
| [SetDebugFlags](https://docs.xbox.com/ja-jp/reference/system/dstorage/interfaces/IDStorageFactoryX/methods/idstoragefactoryx_setdebugflags.md) | デバッグ レイヤーの制御に使用されるフラグを設定します。 |
| [SetStagingBufferSize](https://docs.xbox.com/ja-jp/reference/system/dstorage/interfaces/IDStorageFactoryX/methods/idstoragefactoryx_setstagingbuffersize.md) | ステージング バッファーのサイズを設定します。 |

## 解説

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

`IDStorageFactoryX` シングルトンへのポインターを取得するには、[DStorageGetFactory](https://docs.xbox.com/ja-jp/reference/system/dstorage/functions/dstoragegetfactory.md) を使用します。

詳細については、[DirectStorage の概要](https://docs.xbox.com/ja-jp/build/console-features/storage/directstorage/directstorage-overview.md) の「IDStorageFactoryX」セクションを参照してください。

## 要件

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

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

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

## 関連項目

[DStorageGetFactory](https://docs.xbox.com/ja-jp/reference/system/dstorage/functions/dstoragegetfactory.md)\
[DStorage](https://docs.xbox.com/ja-jp/reference/system/dstorage/dstorage_members.md)


## Related topics

- [IDStorageFactoryX1 (インターフェイスの内容)](https://docs.xbox.com/ja-jp/reference/system/dstorage/interfaces/IDStorageFactoryX1/idstoragefactoryx1.md)
- [IDStorageFactoryX2 (インターフェイスの内容)](https://docs.xbox.com/ja-jp/reference/system/dstorage/interfaces/IDStorageFactoryX2/idstoragefactoryx2.md)
- [IDStorageFileX (インターフェイスの内容)](https://docs.xbox.com/ja-jp/reference/system/dstorage/interfaces/IDStorageFileX/idstoragefilex.md)
- [IDStorageQueueX (インターフェイスの内容)](https://docs.xbox.com/ja-jp/reference/system/dstorage/interfaces/IDStorageQueueX/idstoragequeuex.md)
- [IDStorageQueueX2 (インターフェイスの内容)](https://docs.xbox.com/ja-jp/reference/system/dstorage/interfaces/IDStorageQueueX2/idstoragequeuex2.md)
