DSTORAGE_QUEUE_DESC

Properties of a DirectStorage queue.

Syntax

typedef struct DSTORAGE_QUEUE_DESC {  
    DSTORAGE_REQUEST_SOURCE_TYPE SourceType;  
    UINT16 Capacity;  
    DSTORAGE_PRIORITY Priority;  
    const CHAR *Name;  
} DSTORAGE_QUEUE_DESC  

Members

SourceType
Type: DSTORAGE_REQUEST_SOURCE_TYPE

The source type of requests the queue can accept.

Capacity
Type: UINT16

The maximum number of requests this queue can hold. This value must be between the values of DSTORAGE_MIN_QUEUE_CAPACITY and DSTORAGE_MAX_QUEUE_CAPACITY.

Priority
Type: DSTORAGE_PRIORITY

The priority of the requests in this queue.

Name
Type: const CHAR *

The name of the queue.

Remarks

This structure is used by the IDStorageFactoryX::CreateQueue method and appears in the DSTORAGE_QUEUE_INFO structure.

The Name member is optional and intended for debugging.

For more information, see the "IDStorageQueueX" section in DirectStorage Overview.

Requirements

Header: dstorage_xs.h

Supported platforms: Xbox Series consoles

See also

DStorage