Windows Dev Center

DXGI_STATUS

Status codes that can be returned by DXGI functions.

Constant/valueDescription
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.

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

Header

DXGI.h

See also

DXGI Constants

 

 

Community Additions

ADD
Show:
© 2015 Microsoft