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.
IDXGISwapChain::GetFullscreenState method
Get the state associated with full-screen mode.
Syntax
HRESULT GetFullscreenState( [out, optional] BOOL *pFullscreen, [out, optional] IDXGIOutput **ppTarget );
Parameters
- pFullscreen [out, optional]
-
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, optional]
-
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.
Requirements
|
Header |
|
|---|---|
|
Library |
|
See also
Show: