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

# InitializeWithPageArrays (família XBOX One)

> Inicializa o **XGMemoryLayoutEngine** com matrizes pré-alocadas de números de páginas do sistema e de ESRAM.

# Método XGMemoryLayoutEngine::InitializeWithPageArrays (família XBOX One)

Inicializa o **XGMemoryLayoutEngine** com matrizes pré-alocadas de números de páginas do sistema e de ESRAM.

<a id="syntaxSection" />

## Sintaxe

```cpp theme={null}
HRESULT InitializeWithPageArrays(
         const ULONG_PTR *pSystemPageList,
         UINT32 SystemPageCount,
         const UINT32 *pEsramPageList,
         UINT32 EsramPageCount
)  
```

<a id="ID4EJ" />

### Parâmetros

*pSystemPageList*   \_In\_reads\_(SystemPageCount)\
Tipo: ULONG\_PTR\*

A lista de páginas do sistema.

*SystemPageCount*   \
Tipo: UINT32

O número de páginas do sistema.

*pEsramPageList*   \_In\_reads\_(EsramPageCount)\
Tipo: UINT32\*

A lista de páginas de ESRAM.

*EsramPageCount*   \
Tipo: UINT32

O número de páginas de ESRAM.

<a id="ID4ES" />

### Valor retornado

Tipo: HRESULT

S\_OK, E\_INVALIDARG ou E\_OUTOFMEMORY.

<a id="requirements" />

## Requisitos

**Cabeçalho:** xgmemory.h

<a id="ID4EWB" />

**Plataformas com suporte:** família XBOX One

## Confira também

[XGMemoryLayoutEngine](/pt-BR/reference/graphics/xgmemory_NR/interfaces/XGMemoryLayoutEngine/xgmemorylayoutengine)


## Related topics

- [Diretório de tópicos NDA: links ativos do Microsoft Learn](/pt-BR/nda/nda-topic-directory.md)
- [chat_manager::initialize](/pt-BR/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_initialize.md)
- [FFTInitializeUnityTable](/pt-BR/reference/audio/xdsp/functions/fftinitializeunitytable.md)
- [XGameStreamingInitialize](/pt-BR/reference/system/xgamestreaming/functions/xgamestreaminginitialize.md)
- [XGameRuntimeInitialize](/pt-BR/reference/system/xgameruntimeinit/functions/xgameruntimeinitialize.md)
