IDStorageFileX::Close
Closes the file.
Syntax
void Close(
)
Parameters
This method has no parameters.
Return value
Type: void
Remarks
This method explicitly closes the file, regardless of the reference count on the matching IDStorageFileX
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 consoles