IDStorageFileX

Represents a file to be accessed by DirectStorage.

Syntax

class IDStorageFileX : public IUnknown  

Methods

Method Description
IDStorageFileX::Close Closes the file.
GetHandle Gets a Win32 handle to the file represented by the object.

Remarks

To create an object that implements the IDStorageFileX interface, call the IDStorageFactoryX::OpenFile method. This is analogous to using CreateFile in the Win32 API interfaces.

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

Requirements

Header: dstorage_xs.h

Library: dstorage.lib

Supported platforms: Xbox Series consoles

See also

IDStorageFactoryX::OpenFile
DStorage