Skip to main content

IDStorageFactoryX2::CreateQueue1

Creates a DirectStorage queue object.

Syntax

Parameters

desc
Type: DSTORAGE_QUEUE_DESC1 *
Descriptor that specifies the properties of the queue, including the ability to disable the auto-submit feature of a created queue. riid
Type: REFIID
Specifies the DirectStorage queue interface, such as __uuidof(IDStorageQueueX2). ppv   _COM_Outptr_
Type: void **
Returns a pointer to the created object.

Return value

Type: HRESULT Standard HRESULT error code.

Remarks

A DirectStorage queue holds read requests until the title calls Submit on the queue. All entries in a DirectStorage queue complete in the order they are enqueued. For more information, see the “IDStorageQueueX2” section in DirectStorage Overview.

Requirements

Header: dstorage_xs.h Library: dstorage_xs.lib Supported platforms: XBOX Series consoles

See also

IDStorageFactoryX2
DStorage
Last modified on August 20, 2026