Skip to main content

IDStorageFactoryX::CreateQueue

Creates a DirectStorage queue object.

Syntax

Parameters

desc
Type: DSTORAGE_QUEUE_DESC *
Descriptor that specifies the properties of the queue. riid
Type: REFIID
Specifies the DirectStorage queue interface, such as __uuidof(IDStorageQueueX). 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 “IDStorageQueueX” section in DirectStorage Overview.

Requirements

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

See also

IDStorageFactoryX
DStorage
Last modified on August 20, 2026