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

# IDStorageQueueX::Query

> IDStorageQueueX::Query

# IDStorageQueueX::Query

Obtains information about the queue.

## Syntax

```cpp theme={null}
void Query(
    DSTORAGE_QUEUE_INFO *info
)
```

### Parameters

*info*   \_Out\_\
Type: [DSTORAGE\_QUEUE\_INFO](/reference/system/dstorage/structs/dstorage_queue_info) \*

Receives the information about the queue.

### Return value

Type: void

## Remarks

Use this method to obtain the [DSTORAGE\_QUEUE\_DESC](/reference/system/dstorage/structs/dstorage_queue_desc) structure that was used for creation of the queue. [DSTORAGE\_QUEUE\_INFO](/reference/system/dstorage/structs/dstorage_queue_info) also provides the number of empty slots and the number of entries that need to be enqueued to trigger automatic submission. (Automatic submission occurs when the queue is half full.)

## Requirements

**Header:** dstorage\_xs.h

**Library:** dstorage\_xs.lib

**Supported platforms:** XBOX Series consoles

## See also

[IDStorageQueueX](/reference/system/dstorage/interfaces/IDStorageQueueX/idstoragequeuex)\
[DStorage](/reference/system/dstorage/dstorage_members)


## Related topics

- [DSTORAGE_QUEUE_INFO](/reference/system/dstorage/structs/dstorage_queue_info.md)
- [IDStorageQueueX](/reference/system/dstorage/interfaces/IDStorageQueueX/idstoragequeuex.md)
- [IDStorageQueueX2::Query1](/reference/system/dstorage/interfaces/IDStorageQueueX2/methods/idstoragequeuex_query1.md)
- [IDStorageQueueX::Close](/reference/system/dstorage/interfaces/IDStorageQueueX/methods/idstoragequeuex_close.md)
- [IDStorageQueueX::Submit](/reference/system/dstorage/interfaces/IDStorageQueueX/methods/idstoragequeuex_submit.md)
