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

# GetCompletedValue

> Obtém o valor atual da fence. (ID3D12Fence.GetCompletedValue)

Obtém o valor atual da fence.

## Sintaxe

```cpp theme={null}
UINT64 GetCompletedValue(
)
```

### Parâmetros

### Valor retornado

Tipo: UINT64

Retorna o valor atual da fence. Se o dispositivo tiver sido removido, o valor retornado será **UINT64\_MAX**.

## Requisitos

**Cabeçalho:** d3d12\_xs.h ou d3d12\_x.h\
**Biblioteca:** d3d12\_xs.lib ou d3d12\_x.lib\
**Plataformas com suporte**: consoles XBOX Series e família XBOX One

## Consulte também

[ID3D12Fence](/pt-BR/reference/graphics/d3d12/interfaces/id3d12fence/id3d12fence_public)

[Sincronização de vários mecanismos](https://learn.microsoft.com/en-us/windows/win32/direct3d12/user-mode-heap-synchronization)


## Related topics

- [GetStatusFence](/pt-BR/reference/graphics/d3d12/interfaces/id3d12protectedsession/methods/id3d12protectedsession_getstatusfence_public.md)
- [Wait](/pt-BR/reference/graphics/d3d12/interfaces/id3d12commandqueue/methods/id3d12commandqueue_wait_public.md)
- [ticket_completed](/pt-BR/services/playfab/api-references/events/Matchmaking/ticket-completed.md)
- [export_completed](/pt-BR/services/playfab/api-references/events/Extension/export-completed.md)
- [GetPMCValue](/pt-BR/reference/tools/pix3/functions/getpmcvalue.md)
