IDXGISwapChain::GetFullscreenState method

Get the state associated with full-screen mode.

Syntax


HRESULT GetFullscreenState(
  [out]  BOOL *pFullscreen,
  [out]  IDXGIOutput **ppTarget
);

Parameters

pFullscreen [out]

Type: BOOL*

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]

Type: IDXGIOutput**

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.

Windows Phone 8: This API is supported.

Requirements

Header

DXGI.h

Library

DXGI.lib

See also

IDXGISwapChain

 

 

Community Additions

ADD
Show:
© 2014 Microsoft