> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# DStorage (API contents)

> DStorage

## Interfaces

| Interface | Description |
| - | - |
| [IDStorageFactoryX](https://docs.xbox.com/reference/system/dstorage/interfaces/IDStorageFactoryX/idstoragefactoryx.md) | Represents the static DirectStorage factory object. |
| [IDStorageFactoryX1](https://docs.xbox.com/reference/system/dstorage/interfaces/IDStorageFactoryX1/idstoragefactoryx1.md) | Represents the static DirectStorage factory object. |
| [IDStorageFactoryX2](https://docs.xbox.com/reference/system/dstorage/interfaces/IDStorageFactoryX2/idstoragefactoryx2.md) | Represents the static DirectStorage factory object. |
| [IDStorageFileX](https://docs.xbox.com/reference/system/dstorage/interfaces/IDStorageFileX/idstoragefilex.md) | Represents a file to be accessed by DirectStorage. |
| [IDStorageQueueX](https://docs.xbox.com/reference/system/dstorage/interfaces/IDStorageQueueX/idstoragequeuex.md) | Represents a DirectStorage queue. |
| [IDStorageQueueX1](https://docs.xbox.com/reference/system/dstorage/interfaces/IDStorageQueueX1/idstoragequeuex1.md) | Represents a DirectStorage queue. |
| [IDStorageQueueX2](https://docs.xbox.com/reference/system/dstorage/interfaces/IDStorageQueueX2/idstoragequeuex2.md) | Represents a DirectStorage queue. |
| [IDStorageStatusArrayX](https://docs.xbox.com/reference/system/dstorage/interfaces/IDStorageStatusArrayX/idstoragestatusarrayx.md) | Represents an array of status entries for the preceding read requests. |

## Functions

| Function | Description |
| - | - |
| [DStorageGetFactory](https://docs.xbox.com/reference/system/dstorage/functions/dstoragegetfactory.md) | Returns the static DirectStorage factory object. |

## Structures

| Structure | Description |
| - | - |
| [DSTORAGE\_ERROR\_RECORD](https://docs.xbox.com/reference/system/dstorage/structs/dstorage_error_record.md) | Detailed record of a failed DirectStorage request. |
| [DSTORAGE\_PRIORITY\_STATS data structure](https://docs.xbox.com/reference/system/dstorage/structs/dstorage_priority_stats.md) | DirectStorage per priority statistics. |
| [DSTORAGE\_QUEUE\_DESC](https://docs.xbox.com/reference/system/dstorage/structs/dstorage_queue_desc.md) | Properties of a DirectStorage queue. |
| [DSTORAGE\_QUEUE\_DESC1](https://docs.xbox.com/reference/system/dstorage/structs/dstorage_queue_desc1.md) | Properties of a DirectStorage queue. |
| [DSTORAGE\_QUEUE\_INFO](https://docs.xbox.com/reference/system/dstorage/structs/dstorage_queue_info.md) | Properties and current state of a DirectStorage queue. |
| [DSTORAGE\_QUEUE\_INFO1](https://docs.xbox.com/reference/system/dstorage/structs/dstorage_queue_info1.md) | Properties and current state of a DirectStorage queue. |
| [DSTORAGE\_QUEUE\_OPTIONS](https://docs.xbox.com/reference/system/dstorage/structs/dstorage_queue_options.md) | Options for a DirectStorage queue creation. |
| [DSTORAGE\_REQUEST](https://docs.xbox.com/reference/system/dstorage/structs/dstorage_request.md) | Represents a DirectStorage read request. |
| [DSTORAGE\_REQUEST\_OPTIONS](https://docs.xbox.com/reference/system/dstorage/structs/dstorage_request_options.md) | Options for a DirectStorage read request. |
| [DSTORAGE\_STATS](https://docs.xbox.com/reference/system/dstorage/structs/dstorage_stats.md) | DirectStorage statistics. |

## Enumerations

| Enumeration | Description |
| - | - |
| [DSTORAGE\_BCPACK\_MODE](https://docs.xbox.com/reference/system/dstorage/enums/dstorage_bcpack_mode.md) | Types of BCPack decompression to perform after content is read from a file. |
| [DSTORAGE\_COMMAND\_TYPE](https://docs.xbox.com/reference/system/dstorage/enums/dstorage_command_type.md) | Types of DirectStorage requests. |
| [DSTORAGE\_DEBUG](https://docs.xbox.com/reference/system/dstorage/enums/dstorage_debug.md) | Flags that control the DirectStorage debug layer. |
| [DSTORAGE\_PRIORITY](https://docs.xbox.com/reference/system/dstorage/enums/dstorage_priority.md) | Priority levels of a DirectStorage queue. |
| [DSTORAGE\_REQUEST\_SOURCE\_TYPE](https://docs.xbox.com/reference/system/dstorage/enums/dstorage_request_source_type.md) | Source types of a DirectStorage request. |
| [DSTORAGE\_STAGING\_BUFFER\_SIZE](https://docs.xbox.com/reference/system/dstorage/enums/dstorage_staging_buffer_size.md) | Valid staging buffer sizes. |
| [DSTORAGE\_SWIZZLE\_MODE](https://docs.xbox.com/reference/system/dstorage/enums/dstorage_swizzle_mode.md) | Types of texture swizzling to perform. |


## Related topics

- [IDStorageFactoryX (Interface contents)](https://docs.xbox.com/reference/system/dstorage/interfaces/IDStorageFactoryX/idstoragefactoryx.md)
- [IDStorageFileX (Interface contents)](https://docs.xbox.com/reference/system/dstorage/interfaces/IDStorageFileX/idstoragefilex.md)
- [IDStorageQueueX (Interface contents)](https://docs.xbox.com/reference/system/dstorage/interfaces/IDStorageQueueX/idstoragequeuex.md)
- [IDStorageFactoryX2 (Interface contents)](https://docs.xbox.com/reference/system/dstorage/interfaces/IDStorageFactoryX2/idstoragefactoryx2.md)
- [IDStorageFactoryX1 (Interface contents)](https://docs.xbox.com/reference/system/dstorage/interfaces/IDStorageFactoryX1/idstoragefactoryx1.md)
