Skip to main content

IDStorageFactoryX::SetDebugFlags

Sets flags used to control the debug layer.

Syntax

Parameters

flags
Type: UINT32
A set of flags controlling the debug layer.

Return value

Type: void

Remarks

This method sets flags that control whether DirectStorage performs additional validations when requests are enqueued. The validations are intended to aid debugging. Note that these debug flags only affect the behavior of errors that are detectable at enqueue time. Errors that occur as part of the asynchronous handling of requests, such as a corrupt stream or mismatched buffer size for compressed content, can be detected and retrieved through IDStorageStatusArrayX::GetHResult once those requests have completed. The DSTORAGE_DEBUG enumeration defines the flags used by SetDebugFlags.

Requirements

Header: dstorage_xs.h Library: dstorage_xs.lib Supported platforms: XBOX Series consoles

See also

IDStorageFactoryX
DStorage
Last modified on August 20, 2026