Get the state associated with full-screen mode.
HRESULT GetFullscreenState( [out, optional] BOOL *pFullscreen, [out, optional] IDXGIOutput **ppTarget );
- pFullscreen [out, optional]
A pointer to a boolean whose value is either:
- TRUE if the swap chain is in full-screen mode
- FALSE if the swap chain is in windowed mode
- ppTarget [out, optional]
A pointer to the output target (see IDXGIOutput) when the mode is full screen; otherwise NULL.
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.