> ## 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 (família XBOX One)

> Retorna, como um ponteiro void, o endereço virtual atual deste layout enquanto ele é construído.

# Método XGMemoryLayout::GetCurrentAddress (família XBOX One)

Retorna, como um ponteiro void, o endereço virtual atual deste layout enquanto ele é construído.

<a id="syntaxSection" />

## Sintaxe

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

<a id="ID4EP" />

### Valor retornado

Tipo: void \*

O endereço virtual atual deste layout enquanto ele é construído.

<a id="remarks" />

## Comentários

Retorna o endereço virtual atual deste layout enquanto ele é construído. Chamadas às seguintes APIs **Map** incrementarão o endereço atual:

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

<a id="requirements" />

## Requisitos

**Cabeçalho:** xgmemory.h

<a id="ID4E4B" />

**Plataformas compatíveis:** família XBOX One

## Confira também

[XGMemoryLayout](/pt-BR/reference/graphics/xgmemory_NR/interfaces/XGMemoryLayout/xgmemorylayout)


## Related topics

- [Diretório de tópicos NDA: links ativos do Microsoft Learn](/pt-BR/nda/nda-topic-directory.md)
- [GetGPUVirtualAddress](/pt-BR/reference/graphics/d3d12/interfaces/id3d12resource/methods/id3d12resource_getgpuvirtualaddress_public.md)
- [GetShapeXmaCurrentInputBuffer](/pt-BR/reference/audio/shapexmacontext/functions/getshapexmacurrentinputbuffer.md)
- [XGameStreamingGetClientIPAddress](/pt-BR/reference/system/xgamestreaming/functions/xgamestreaminggetclientipaddress.md)
- [XPackageGetCurrentProcessPackageIdentifier](/pt-BR/reference/system/xpackage/functions/xpackagegetcurrentprocesspackageidentifier.md)
