DXGI_STATUS

Status codes that can be returned by DXGI functions.

Constant/value Description
DXGI_STATUS_OCCLUDED
0x087A0001
The window content is not visible. When receiving this status, an application can stop rendering and use DXGI_PRESENT_TEST to determine when to resume rendering. You will not receive DXGI_STATUS_OCCLUDED if you're using a flip model swap chain.
DXGI_STATUS_MODE_CHANGED
0x087A0007
The desktop display mode has been changed, there might be color conversion/stretching. The application should call IDXGISwapChain::ResizeBuffers to match the new display mode.
DXGI_STATUS_MODE_CHANGE_IN_PROGRESS
0x087A0008
IDXGISwapChain::ResizeTarget and IDXGISwapChain::SetFullscreenState will return DXGI_STATUS_MODE_CHANGE_IN_PROGRESS if a fullscreen/windowed mode transition is occurring when either API is called.

Remarks

The HRESULT value for each DXGI_STATUS value is determined from this macro that is defined in DXGItype.h:

#define _FACDXGI    0x87a
#define MAKE_DXGI_STATUS(code)  MAKE_HRESULT(0, _FACDXGI, code)

For example, DXGI_STATUS_OCCLUDED is defined as 0x087A0001:

#define DXGI_STATUS_OCCLUDED                    MAKE_DXGI_STATUS(1)

Requirements

Requirement Value
Header
DXGI.h

See also

DXGI Constants