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

> Prend possession d'une sortie.

Prend possession d'une sortie.

## Syntaxe

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

### Paramètres

\**pDevice*   \_In\_\
Type : IUnknown

Ce paramètre n'a aucun effet.  Consultez la section Remarques.

*Exclusive*   \
Type : BOOL

Ce paramètre n'a aucun effet.  Consultez la section Remarques.

### Valeur de retour

Type : HRESULT

Retourne S\_OK.

## Remarques

[ReleaseOwnership](/fr-CA/reference/graphics/d3d12_xs/interfaces/IDXGIOutput/methods/idxgioutput_releaseownership) et [TakeOwnership](/fr-CA/reference/graphics/d3d12_xs/interfaces/IDXGIOutput/methods/idxgioutput_takeownership) n'ont aucun effet sur XBOX Series X|S.

## Configuration requise

**En-tête :** d3d12\_xs.h

**Bibliothèque :** d3d12\_xs.lib\
**Plateformes prises en charge :** consoles XBOX Series

## Voir aussi

[IDXGIOutput](/fr-CA/reference/graphics/d3d12_xs/interfaces/IDXGIOutput/idxgioutput)


## Related topics

- [Répertoire des rubriques NDA : liens actifs vers Microsoft Learn](/fr-CA/nda/nda-topic-directory.md)
- [XAppCaptureTakeScreenshot](/fr-CA/reference/system/xappcapture/functions/xappcapturetakescreenshot.md)
- [XAppCaptureTakeScreenshotResult](/fr-CA/reference/system/xappcapture/structs/xappcapturetakescreenshotresult.md)
- [XAppCaptureTakeDiagnosticScreenshot](/fr-CA/reference/system/xappcapture/functions/xappcapturetakediagnosticscreenshot.md)
- [Barrier (consoles XBOX Series)](/fr-CA/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist7/methods/id3d12graphicscommandlist7_barrier_public.md)
