DStorageGetFactory
Returns the static DirectStorage factory object.Syntax
Parameters
riidType: REFIID Specifies the DirectStorage factory interface, such as
__uuidof(IDStorageFactoryX2).
ppv Type: void ** Pointer that receives a reference to the static DirectStorage factory object.
Return value
Type: HRESULT Standard HRESULT error code.Remarks
This function returns the static DirectStorage factory object (IDStorageFactoryX2). Use the object to create DirectStorage queues, open files for DirectStorage access, and perform global operations. For more information, see the “IDStorageFactoryX”, “IDStorageFactoryX1” and “IDStorageFactoryX2” sections of DirectStorage Overview.Requirements
Header: dstorage_xs.h Library: dstorage_xs.lib Supported platforms: XBOX Series consolesSee also
IDStorageFactoryXIDStorageFactoryX1
IDStorageFactoryX2
DStorage
