Get the state associated with full-screen mode.
public:
HRESULT GetFullscreenState(
BOOL *pFullscreen,
IDXGIOutput **ppTarget
)
pFullscreen
Type: BOOL *
[out, optional] A pointer to a boolean whose value is either:
ppTarget
Type: IDXGIOutput **
[out, optional] A pointer to the output target (see IDXGIOutput) when the mode is full screen; otherwise NULL.
Type: HRESULT
Returns one of the following DXGI_ERROR.
When the swap chain is in full-screen mode, a pointer to the target output will be returned and its reference count will be incremented.
Header: Declared in d3d11_x.h (dxgi.h on other Windows platforms).
Library: Use d3d11_x.lib (dxgi.lib on other Windows platforms).