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

# IDStorageFactoryX

> IDStorageFactoryX

# IDStorageFactoryX

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

## 構文

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

## メソッド

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

## 解説

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

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

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

## 要件

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

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

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

## 関連項目

[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)
- [IDStorageFactoryX::CreateQueue](/ja-jp/reference/system/dstorage/interfaces/IDStorageFactoryX/methods/idstoragefactoryx_createqueue.md)
- [IDStorageFactoryX::OpenFile](/ja-jp/reference/system/dstorage/interfaces/IDStorageFactoryX/methods/idstoragefactoryx_openfile.md)
- [IDStorageFactoryX2](/ja-jp/reference/system/dstorage/interfaces/IDStorageFactoryX2/idstoragefactoryx2.md)
- [IDStorageFactoryX1](/ja-jp/reference/system/dstorage/interfaces/IDStorageFactoryX1/idstoragefactoryx1.md)
