Skip to main content

DStorageGetFactory

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

構文

パラメーター

riid   
Type: REFIID
__uuidof(IDStorageFactoryX2) などの DirectStorage ファクトリ インターフェイスを指定します。 ppv   
Type: void **
静的な DirectStorage ファクトリ オブジェクトへの参照を受け取るポインター。

戻り値

Type: HRESULT 標準の HRESULT エラー コード。

解説

この関数は、静的な DirectStorage ファクトリ オブジェクト (IDStorageFactoryX2) を返します。このオブジェクトを使用して、DirectStorage キューの作成、DirectStorage アクセス用のファイルのオープン、およびグローバル操作の実行を行います。 詳細については、DirectStorage の概要 の「IDStorageFactoryX」、「IDStorageFactoryX1」および「IDStorageFactoryX2」セクションを参照してください。

要件

ヘッダー: dstorage_xs.h ライブラリ: dstorage_xs.lib サポートされているプラットフォーム: XBOX Series 本体

関連項目

IDStorageFactoryX
IDStorageFactoryX1
IDStorageFactoryX2
DStorage
最終更新日 2026年8月24日