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

# GetCurrentAddress (XBOX One 系列)

> 以 void 指標傳回此配置在建構期間的目前虛擬位址。

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

以 void 指標傳回此配置在建構期間的目前虛擬位址。

<a id="syntaxSection" />

## 語法

```cpp theme={null}
void* GetCurrentAddress(  
)  
```

<a id="ID4EP" />

### 傳回值

類型: void \*

此配置在建構期間的目前虛擬位址。

<a id="remarks" />

## 備註

傳回此配置在建構期間的目前虛擬位址。呼叫下列 **Map** API 會遞增目前位址:

* [XGMemoryLayout::MapFromPattern](/zh-TW/reference/graphics/xgmemory_NR/interfaces/XGMemoryLayout/methods/xgmemorylayout_mapfrompattern)
* [XGMemoryLayout::MapPagePriorityArray](/zh-TW/reference/graphics/xgmemory_NR/interfaces/XGMemoryLayout/methods/xgmemorylayout_mappagepriorityarray)
* [XGMemoryLayout::MapRunLengthArray](/zh-TW/reference/graphics/xgmemory_NR/interfaces/XGMemoryLayout/methods/xgmemorylayout_maprunlengtharray)
* [XGMemoryLayout::MapSimple](/zh-TW/reference/graphics/xgmemory_NR/interfaces/XGMemoryLayout/methods/xgmemorylayout_mapsimple)

<a id="requirements" />

## 需求

**標頭:** xgmemory.h

<a id="ID4E4B" />

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

## 另請參閱

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


## Related topics

- [GetGPUVirtualAddress](/zh-CN/reference/graphics/d3d12/interfaces/id3d12resource/methods/id3d12resource_getgpuvirtualaddress_public.md)
- [GetShapeXmaCurrentInputBuffer](/zh-CN/reference/audio/shapexmacontext/functions/getshapexmacurrentinputbuffer.md)
- [XPackageGetCurrentProcessPackageIdentifier](/zh-CN/reference/system/xpackage/functions/xpackagegetcurrentprocesspackageidentifier.md)
- [XTaskQueueGetCurrentProcessTaskQueue](/zh-CN/reference/system/xtaskqueue/functions/xtaskqueuegetcurrentprocesstaskqueue.md)
- [ApuIsVirtualAddressValid](/zh-CN/reference/audio/apu/functions/apuisvirtualaddressvalid.md)
