IDStorageFileX::Close
Closes the file.Syntax
Parameters
This method has no parameters.Return value
Type: voidRemarks
This method explicitly closes the file, regardless of the reference count on the matchingIDStorageFileX object.
A file is implicitly closed when the last reference to the matching IDStorageFileX object is released.
Closing a file explicitly or implicitly will block until all outstanding I/O operations are complete.
After an IDStorageFileX object is closed, it can no longer be used in DirectStorage requests.
For more information, see the “IDStorageFileX” section in DirectStorage Overview.
Requirements
Header: dstorage_xs.h Library: dstorage_xs.lib Supported platforms: XBOX Series consolesSee also
IDStorageFactoryX::OpenFileIDStorageFileX
