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

# GetPageCount (XBOX One 系列)

> 傳回配置中的頁面數目。

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

傳回配置中的頁面數目。

<a id="syntaxSection" />

## 語法

```cpp theme={null}
SIZE_T GetPageCount(  
)  
```

<a id="ID4EP" />

### 傳回值

類型: SIZE\_T

配置中的頁面數目。

<a id="requirements" />

## 需求

**標頭:** xgmemory.h

<a id="ID4EZ" />

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

## 另請參閱

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


## Related topics

- [GetPageFaultAllocationOutput](/zh-CN/reference/graphics/d3d12/interfaces/id3d12deviceremovedextendeddata/methods/id3d12deviceremovedextendeddata_getpagefaultallocationoutput_public.md)
- [GetNodeCount](/zh-CN/reference/graphics/d3d12/interfaces/id3d12device/methods/id3d12device_getnodecount_public.md)
- [GetShapePcmLoopCount](/zh-CN/reference/audio/shapepcmcontext/functions/getshapepcmloopcount.md)
- [GetShapeSrcSampleCount](/zh-CN/reference/audio/shapesrccontext/functions/getshapesrcsamplecount.md)
- [GetXmaPacketFrameCount](/zh-CN/reference/audio/xma2defs/functions/getxmapacketframecount.md)
