> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GetGammaControlCapabilities (XBOX Series 主機)

> 取得 Gamma 控制功能的描述。

取得 Gamma 控制功能的描述。

## 語法

```cpp theme={null}
HRESULT GetGammaControlCapabilities(  
         DXGI_GAMMA_CONTROL_CAPABILITIES *pGammaCaps  
)  
```

### 參數

\**pGammaCaps*   \_Out\_\
類型：DXGI\_GAMMA\_CONTROL\_CAPABILITIES

Gamma 控制功能描述的指標。

### 傳回值

類型：HRESULT

成功時傳回 S\_OK；以無效參數呼叫時傳回 E\_INVALIDARG。

## 備註

如需使用 Gamma 校正的相關資訊，請參閱[使用 Gamma 校正](https://learn.microsoft.com/en-us/windows/win32/api/dxgi/nf-dxgi-idxgioutput-getgammacontrol)。

## 需求

**標頭：** d3d12\_xs.h

**程式庫：** d3d12\_xs.lib\
**支援的平台：** XBOX Series 主機

## 另請參閱

[IDXGIOutput](/zh-TW/reference/graphics/d3d12_xs/interfaces/IDXGIOutput/idxgioutput)


## Related topics

- [NDA 主題目錄 - Microsoft Learn 線上連結](/zh-TW/nda/nda-topic-directory.md)
- [XInputGetCapabilities](/zh-TW/reference/input/xinputongameinput/functions/xinputgetcapabilities.md)
- [XINPUT_CAPABILITIES](/zh-TW/reference/input/xinputongameinput/structs/xinput_capabilities.md)
- [ShaderCacheControl (XBOX Series 主機)](/zh-TW/reference/graphics/d3d12/interfaces/id3d12device9/methods/id3d12device9_shadercachecontrol_public.md)
- [D3D12_SHADER_CACHE_CONTROL_FLAGS (XBOX Series 主機)](/zh-TW/reference/graphics/d3d12/enums/d3d12_shader_cache_control_flags_public.md)
