IDStorageFactoryX::CreateQueue
Creates a DirectStorage queue object.
Syntax
HRESULT CreateQueue(
const DSTORAGE_QUEUE_DESC *desc,
REFIID riid,
void **ppv
)
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