> ## 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 (famille XBOX One)

> Initialise **XGMemoryLayoutEngine** avec des tableaux préalloués de numéros de pages système et ESRAM.

# Méthode XGMemoryLayoutEngine::InitializeWithPageArrays (famille XBOX One)

Initialise **XGMemoryLayoutEngine** avec des tableaux préalloués de numéros de pages système et ESRAM.

<a id="syntaxSection" />

## Syntaxe

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

<a id="ID4EJ" />

### Paramètres

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

Liste des pages système.

*SystemPageCount*   \
Type : UINT32

Nombre de pages système.

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

Liste des pages ESRAM.

*EsramPageCount*   \
Type : UINT32

Nombre de pages ESRAM.

<a id="ID4ES" />

### Valeur renvoyée

Type : HRESULT

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

<a id="requirements" />

## Configuration requise

**En-tête :** xgmemory.h

<a id="ID4EWB" />

**Plateformes prises en charge :** famille XBOX One

## Voir aussi

[XGMemoryLayoutEngine](/fr/reference/graphics/xgmemory_NR/interfaces/XGMemoryLayoutEngine/xgmemorylayoutengine)


## Related topics

- [Répertoire des rubriques NDA : liens actifs vers Microsoft Learn](/fr/nda/nda-topic-directory.md)
- [Initialize](/ko/reference/system/Wrappers/classes/provider/methods/xgamesave_wrapper_provider_initialize.md)
- [NDA topic directory - live Microsoft Learn links](/nda/nda-topic-directory.md)
- [LampArray Basics](/build/core-features/common/lighting/lighting-basics.md)
- [Documentation de développement de jeux XBOX](/fr-CA/index.md)
