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

# GetParams

> IGameInputForceFeedbackEffect::GetParams

# IGameInputForceFeedbackEffect::GetParams

检索定义力反馈效果的参数。

## 语法

```cpp theme={null}
void GetParams(
    GameInputForceFeedbackParams* params
);
```

### 参数

*params*   \_Out\_\
类型:[GameInputForceFeedbackParams\*](https://docs.xbox.com/zh-CN/reference/input/gameinput/structs/gameinputforcefeedbackparams.md)

定义力反馈效果的参数。

### 返回值

类型:void

无返回值。

## 注解

每个 `IGameInputForceFeedbackEffect` 实例都会检索到关于该效果的一组通用信息。可通过 `GetParams` 方法获取分配给该效果的参数。有关更多信息，请参见 [Advanced GameInput topics](https://docs.xbox.com/zh-CN/build/core-features/common/input/advanced/input-advanced-topics.md)。

## 要求

**头文件:** GameInput.h

**库:** xgameruntime.lib

**支持的平台:** Windows、XBOX One 系列主机和 XBOX Series 主机

## 另请参见

[GameInput 概述](https://docs.xbox.com/zh-CN/build/core-features/common/input/overviews/input-overview.md)\
[IGameInputForceFeedbackEffect](https://docs.xbox.com/zh-CN/reference/input/gameinput/interfaces/igameinputforcefeedbackeffect/igameinputforcefeedbackeffect.md)

## 版本历史

| 版本 | 变更 |
| - | - |
| **v0** | 引入。 |


## Related topics

- [PFGetPlayerCombinedInfoRequestParams](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pftypes/structs/pfgetplayercombinedinforequestparams.md)
- [GetRequiredParameterResourceSize](https://docs.xbox.com/zh-CN/reference/graphics/d3d12/interfaces/id3d12metacommand/methods/id3d12metacommand_getrequiredparameterresourcesize_public.md)
- [GetHandle](https://docs.xbox.com/zh-CN/reference/system/dstorage/interfaces/IDStorageFileX/methods/idstoragefilex_gethandle.md)
- [GetHResult](https://docs.xbox.com/zh-CN/reference/system/dstorage/interfaces/IDStorageStatusArrayX/methods/idstoragestatusarrayx_gethresult.md)
- [GetStats](https://docs.xbox.com/zh-CN/reference/system/dstorage/interfaces/IDStorageFactoryX1/methods/idstoragefactoryx1_getstats.md)
