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

# TakeOwnership (consoles XBOX Series)

> Assume a propriedade de uma saída.

Assume a propriedade de uma saída.

## Sintaxe

```cpp theme={null}
HRESULT TakeOwnership(  
         IUnknown *pDevice,  
         BOOL Exclusive  
)  
```

### Parâmetros

\**pDevice*   \_In\_\
Tipo: IUnknown

Este parâmetro não tem efeito.  Consulte Comentários.

*Exclusive*   \
Tipo: BOOL

Este parâmetro não tem efeito.  Consulte Comentários.

### Valor retornado

Tipo: HRESULT

Retorna S\_OK.

## Comentários

[ReleaseOwnership](/pt-BR/reference/graphics/d3d12_xs/interfaces/IDXGIOutput/methods/idxgioutput_releaseownership) e [TakeOwnership](/pt-BR/reference/graphics/d3d12_xs/interfaces/IDXGIOutput/methods/idxgioutput_takeownership) não têm efeito no XBOX Series X|S.

## Requisitos

**Cabeçalho:** d3d12\_xs.h

**Biblioteca:** d3d12\_xs.lib\
**Plataformas compatíveis**: consoles XBOX Series

## Confira também

[IDXGIOutput](/pt-BR/reference/graphics/d3d12_xs/interfaces/IDXGIOutput/idxgioutput)


## Related topics

- [XAppCaptureTakeScreenshot](/pt-BR/reference/system/xappcapture/functions/xappcapturetakescreenshot.md)
- [XAppCaptureTakeScreenshotResult](/pt-BR/reference/system/xappcapture/structs/xappcapturetakescreenshotresult.md)
- [XAppCaptureTakeDiagnosticScreenshot](/pt-BR/reference/system/xappcapture/functions/xappcapturetakediagnosticscreenshot.md)
- [Barrier (consoles XBOX Series)](/pt-BR/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist7/methods/id3d12graphicscommandlist7_barrier_public.md)
- [DispatchRays (consoles XBOX Series)](/pt-BR/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist4/methods/id3d12graphicscommandlist4_dispatchrays_public.md)
