Status codes that can be returned by DXGI functions.
||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.
||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.
||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.
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)