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

# FindClosestMatchingMode (consoles XBOX Series)

> Trouve le mode d'affichage qui correspond le mieux au mode d'affichage demandé.

Trouve le mode d'affichage qui correspond le mieux au mode d'affichage demandé.

## Syntaxe

```cpp theme={null}
HRESULT FindClosestMatchingMode(  
         const DXGI_MODE_DESC *pModeToMatch,  
         DXGI_MODE_DESC *pClosestMatch,  
         IUnknown* pConcernedDevice  
)  
```

### Paramètres

\**pModeToMatch*   \_In\_\
Type : [DXGI\_MODE\_DESC](/fr-CA/reference/graphics/d3d12_xs/structs/dxgi_mode_desc)

\**pClosestMatch*   \_Out\_\
Type : [DXGI\_MODE\_DESC](/fr-CA/reference/graphics/d3d12_xs/structs/dxgi_mode_desc)

*pConcernedDevice*   \_In\_opt\_\
Type : IUnknown\*

### Valeur de retour

Type : HRESULT

Retourne DXGI\_ERROR\_UNSUPPORTED.

## Remarques

Cette méthode n'est pas prise en charge 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

- [CheckDriverMatchingIdentifier (consoles XBOX Series)](/fr-CA/reference/graphics/d3d12/interfaces/id3d12device5/methods/id3d12device5_checkdrivermatchingidentifier_public.md)
- [D3D12_HIT_GROUP_DESC (consoles XBOX Series)](/fr-CA/reference/graphics/d3d12/structs/d3d12_hit_group_desc_public.md)
- [D3D12_RAYTRACING_PIPELINE_CONFIG (consoles XBOX Series)](/fr-CA/reference/graphics/d3d12/structs/d3d12_raytracing_pipeline_config_public.md)
- [D3D12_RAYTRACING_PIPELINE_CONFIG1 (consoles XBOX Series)](/fr-CA/reference/graphics/d3d12/structs/d3d12_raytracing_pipeline_config1_public.md)
- [D3D12_DRIVER_MATCHING_IDENTIFIER_STATUS](/fr-CA/reference/graphics/d3d12/enums/d3d12_driver_matching_identifier_status_public.md)
