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

# IDStorageQueueX1

> IDStorageQueueX1

# IDStorageQueueX1

Represents a DirectStorage queue.
Extends the [IDStorageQueueX](/reference/system/dstorage/interfaces/IDStorageQueueX/idstoragequeuex) interface.

## Syntax

```cpp theme={null}
class IDStorageQueueX1 : public IDStorageQueueX  
```

## Methods

| Method                                                                                                            | Description                     |
| ----------------------------------------------------------------------------------------------------------------- | ------------------------------- |
| [EnqueueSetEvent](/reference/system/dstorage/interfaces/IDStorageQueueX1/methods/idstoragequeuex_enqueuesetevent) | Enqueues a set event operation. |

## Remarks

A DirectStorage queue holds entries until the title calls
[Submit](/reference/system/dstorage/interfaces/IDStorageQueueX/methods/idstoragequeuex_submit) on the queue, or one of the Enqueue methods
fills more than half of the queue's capacity since last submission and triggers
an automatic submission. All entries in a DirectStorage queue complete in the
order they are enqueued.

`IDStorageQueueX1` extends `IDStorageQueueX` with
[EnqueueSetEvent](/reference/system/dstorage/interfaces/IDStorageQueueX1/methods/idstoragequeuex_enqueuesetevent) method to provide the
ability to enqueue a **SetEvent** operation.

For more information, see the "IDStorageQueueX" "IDStorageQueueX1" section in
[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::CreateQueue](/reference/system/dstorage/interfaces/IDStorageFactoryX/methods/idstoragefactoryx_createqueue)\
[DStorage](/reference/system/dstorage/dstorage_members)


## Related topics

- [DirectStorage Overview](/build/console-features/storage/directstorage/directstorage-overview.md)
- [IDStorageQueueX1::EnqueueSetEvent](/reference/system/dstorage/interfaces/IDStorageQueueX1/methods/idstoragequeuex_enqueuesetevent.md)
- [IDStorageQueueX2](/reference/system/dstorage/interfaces/IDStorageQueueX2/idstoragequeuex2.md)
- [DStorage](/reference/system/dstorage/dstorage_members.md)
- [IDStorageFactoryX1](/reference/system/dstorage/interfaces/IDStorageFactoryX1/idstoragefactoryx1.md)
