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

# GetFreeEsramPageCount (XBOX One 系列)

> 傳回剩餘的可用 ESRAM 頁面數目。

# XGMemoryLayout::GetFreeEsramPageCount 方法 (XBOX One 系列)

傳回剩餘的可用 ESRAM 頁面數目。

<a id="syntaxSection" />

## 語法

```cpp theme={null}
UINT32 GetFreeEsramPageCount(  
)  
```

<a id="ID4EP" />

### 傳回值

類型: UINT32

剩餘的可用 ESRAM 頁面數目。

<a id="requirements" />

## 需求

**標頭:** xgmemory.h

<a id="ID4EZ" />

**支援的平台:** XBOX One 系列

## 另請參閱

[XGMemoryLayout](/zh-TW/reference/graphics/xgmemory_NR/interfaces/XGMemoryLayout/xgmemorylayout)


## Related topics

- [XMemFreePhysicalPages](/zh-TW/reference/system/xmem/functions/xmemfreephysicalpages.md)
- [GetShapeDmaFramesFree](/zh-TW/reference/audio/shapedmacontext/functions/getshapedmaframesfree.md)
- [ApuFree](/zh-TW/reference/audio/apu/functions/apufree.md)
- [PIXRecordMemoryFreeEvent](/zh-TW/reference/tools/pix3/functions/pixrecordmemoryfreeevent.md)
- [XMemPreallocateFreeSpace](/zh-TW/reference/system/xmem/functions/xmempreallocatefreespace.md)
