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

# StorePipeline

> 入力 PSO を、対応する名前とともに内部データベースに追加します。

入力 PSO を、対応する名前とともに内部データベースに追加します。

## 構文

```cpp theme={null}
HRESULT StorePipeline(
    LPCWSTR pName,
    ID3D12PipelineState  pPipeline
)
```

### パラメーター

*pName \[in, optional]*\
型: LPCWSTR

ライブラリの一意の名前を指定します。上書きはサポートされていません。

*pPipeline \[in]*\
型: ID3D12PipelineState \*

追加する [ID3D12PipelineState](/reference/graphics/d3d12_xs/interfaces/ID3D12PipelineState/id3d12pipelinestate_xs) を指定します。

### 戻り値

型: HRESULT

このメソッドは HRESULT の成功またはエラー コードを返します。名前が既に存在する場合は E\_INVALIDARG、ライブラリ内にストレージを割り当てられない場合は E\_OUTOFMEMORY が含まれる場合があります。

## 解説

[CreatePipelineLibrary](/reference/graphics/d3d12/interfaces/id3d12device1/methods/id3d12device1_createpipelinelibrary_public) の解説と例を参照してください。

## 要件

**ヘッダー:** d3d12\_xs.h または d3d12\_x.h\
**ライブラリ:** d3d12\_xs.lib または d3d12\_x.lib\
**サポートされているプラットフォーム**: XBOX Series 本体および XBOX One ファミリ

## 関連項目

[ID3D12PipelineLibrary](/reference/graphics/d3d12/interfaces/id3d12pipelinelibrary/id3d12pipelinelibrary_public)


## Related topics

- [CreatePipelineLibrary](/ja-jp/reference/graphics/d3d12/interfaces/id3d12device1/methods/id3d12device1_createpipelinelibrary_public.md)
- [LoadPipeline](/ja-jp/reference/graphics/d3d12/interfaces/id3d12pipelinelibrary1/methods/id3d12pipelinelibrary1_loadpipeline_public.md)
- [PFEventPipelineCreateTelemetryPipelineHandleWithKey](/ja-jp/services/playfab/api-references/c/pfeventpipeline/functions/pfeventpipelinecreatetelemetrypipelinehandlewithkey.md)
- [PFEventPipelineCreatePlayStreamPipelineHandle](/ja-jp/services/playfab/api-references/c/pfeventpipeline/functions/pfeventpipelinecreateplaystreampipelinehandle.md)
- [PFEventPipelineCreateTelemetryPipelineHandleWithEntity](/ja-jp/services/playfab/api-references/c/pfeventpipeline/functions/pfeventpipelinecreatetelemetrypipelinehandlewithentity.md)
