Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

 

 

Show:
© 2017 Microsoft