XGMemoryLayoutEngine::InitializeWithPageArrays Method

Initializes the XGMemoryLayoutEngine with preallocated system and ESRAM page number arrays.

Syntax

public:
HRESULT InitializeWithPageArrays(
         const ULONG_PTR *pSystemPageList,
         UINT32 SystemPageCount,
         const UINT32 *pEsramPageList,
         UINT32 EsramPageCount
)  

Parameters

pSystemPageList
Type: ULONG_PTR *

[in] The list of system pages.

SystemPageCount
Type: UINT32 

The number of system pages.

pEsramPageList
Type: UINT32 *

[in] The list of ESRAM pages.

EsramPageCount
Type: UINT32 

The number of ESRAM pages.

Return value

Type: HRESULT 

S_OK, E_INVALIDARG, or E_OUTOFMEMORY, described in Direct3D 11 return codes.

Requirements

Header: Declared in xgmemory.h.

See also

XGMemoryLayoutEngine

XGMemoryLayoutEngine Members