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

> Agrega el PSO de entrada a una base de datos interna con el nombre correspondiente.

Agrega el PSO de entrada a una base de datos interna con el nombre correspondiente.

## Sintaxis

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

### Parámetros

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

Especifica un nombre único para la biblioteca. No se admite la sobrescritura.

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

Especifica el [ID3D12PipelineState](/reference/graphics/d3d12_xs/interfaces/ID3D12PipelineState/id3d12pipelinestate_xs) que se va a agregar.

### Valor devuelto

Tipo: HRESULT

Este método devuelve un código HRESULT de éxito o de error, incluido E\_INVALIDARG si el nombre ya existe y E\_OUTOFMEMORY si no se puede asignar almacenamiento en la biblioteca.

## Comentarios

Consulte los comentarios y ejemplos de [CreatePipelineLibrary](/reference/graphics/d3d12/interfaces/id3d12device1/methods/id3d12device1_createpipelinelibrary_public).

## Requisitos

**Encabezado:** d3d12\_xs.h o d3d12\_x.h\
**Biblioteca:** d3d12\_xs.lib o d3d12\_x.lib\
**Plataformas compatibles**: consolas XBOX Series y familia XBOX One

## Consulte también

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


## Related topics

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