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

# IDStorageFileX

> IDStorageFileX

# IDStorageFileX

Représente un fichier auquel DirectStorage doit accéder.

## Syntaxe

```cpp theme={null}
class IDStorageFileX : public IUnknown  
```

## Méthodes

| Méthode | Description |
| - | - |
| [IDStorageFileX::Close](/fr-CA/reference/system/dstorage/interfaces/IDStorageFileX/methods/idstoragefilex_close) | Ferme le fichier. |
| [GetHandle](/fr-CA/reference/system/dstorage/interfaces/IDStorageFileX/methods/idstoragefilex_gethandle) | Obtient un handle Win32 vers le fichier représenté par l'objet. |

## Remarques

Pour créer un objet qui implémente l'interface `IDStorageFileX`, appelez la méthode [IDStorageFactoryX::OpenFile](/fr-CA/reference/system/dstorage/interfaces/IDStorageFactoryX/methods/idstoragefactoryx_openfile). Cela équivaut à utiliser `CreateFile` dans les interfaces de l'API Win32.

Pour plus d'informations, consultez la section « API overview » de la [Vue d'ensemble de DirectStorage](/fr-CA/build/console-features/storage/directstorage/directstorage-overview).

## Configuration requise

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

**Bibliothèque :** dstorage.lib

**Plateformes prises en charge :** consoles XBOX Series

## Voir aussi

[IDStorageFactoryX::OpenFile](/fr-CA/reference/system/dstorage/interfaces/IDStorageFactoryX/methods/idstoragefactoryx_openfile)\
[DStorage](/fr-CA/reference/system/dstorage/dstorage_members)


## Related topics

- [IDStorageFileX](/reference/system/dstorage/interfaces/IDStorageFileX/idstoragefilex.md)
- [DirectStorage Overview](/build/console-features/storage/directstorage/directstorage-overview.md)
- [DirectStorage 概述](/zh-CN/build/console-features/storage/directstorage/directstorage-overview.md)
- [DirectStorage 개요](/ko/build/console-features/storage/directstorage/directstorage-overview.md)
- [Información general de DirectStorage](/es/build/console-features/storage/directstorage/directstorage-overview.md)
