IDStorageQueueX::Close

Closes the DirectStorage queue.

Syntax

void Close(  
)  

Parameters

This method has no parameters.

Return value

Type: void

Remarks

This method closes a DirectStorage queue, regardless of the reference count on the IDStorageQueueX object. The method blocks until all enqueued reqests either complete or fail. After the method returns, the queue will no longer complete any more requests, even if some are submitted.

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::CreateQueue
IDStorageQueueX
DStorage