IDXGISwapChain::GetFullscreenState Method

Get the state associated with full-screen mode.

Syntax

public:
HRESULT GetFullscreenState(
         BOOL *pFullscreen,
         IDXGIOutput **ppTarget
)  

Parameters

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.

Return value

Type: HRESULT 

Returns one of the following DXGI_ERROR.

Remarks

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.

Requirements

Header: Declared in d3d11_x.h (dxgi.h on other Windows platforms).

Library: Use d3d11_x.lib (dxgi.lib on other Windows platforms).

See also

IDXGISwapChain

IDXGISwapChain Members