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

# IDStorageFactoryX1

> IDStorageFactoryX1

# IDStorageFactoryX1

Represents the static DirectStorage factory object.
Extends the [IDStorageFactoryX](/reference/system/dstorage/interfaces/IDStorageFactoryX/idstoragefactoryx) interface.

## Syntax

```cpp theme={null}
class IDStorageFactoryX1 : public IDStorageFactoryX  
```

## Methods

| Method                                                                                                   | Description                    |
| -------------------------------------------------------------------------------------------------------- | ------------------------------ |
| [GetStats](/reference/system/dstorage/interfaces/IDStorageFactoryX1/methods/idstoragefactoryx1_getstats) | Gets DirectStorage statistics. |

## Remarks

Use the DirectStorage factory object to create DirectStorage queues, open files for DirectStorage access, and perform global operations.

To obtain a pointer to the `IDStorageFactoryX1` singleton, use [DStorageGetFactory](/reference/system/dstorage/functions/dstoragegetfactory).

For more information, see the "IDStorageFactoryX" and "IDStorageFactoryX1"
sections of [DirectStorage Overview](/build/console-features/storage/directstorage/directstorage-overview).

## Requirements

**Header:** dstorage\_xs.h

**Library:** dstorage.lib

**Supported platforms:** XBOX Series consoles

## See also

[IDStorageFactoryX](/reference/system/dstorage/interfaces/IDStorageFactoryX/idstoragefactoryx)\
[DStorageGetFactory](/reference/system/dstorage/functions/dstoragegetfactory)\
[DStorage](/reference/system/dstorage/dstorage_members)


## Related topics

- [DirectStorage Overview](/build/console-features/storage/directstorage/directstorage-overview.md)
- [IDStorageFactoryX1::GetStats](/reference/system/dstorage/interfaces/IDStorageFactoryX1/methods/idstoragefactoryx1_getstats.md)
- [IDStorageFactoryX2](/reference/system/dstorage/interfaces/IDStorageFactoryX2/idstoragefactoryx2.md)
- [DStorageGetFactory](/reference/system/dstorage/functions/dstoragegetfactory.md)
- [DStorage](/reference/system/dstorage/dstorage_members.md)
