设置阴影颜色的绿色值。
语法
HRESULT SetGreen(
[in] IDCompositionAnimation *animation
);
参数
[in] animation
表示阴影颜色的绿色值随时间变化的动画。 此参数不能为 NULL。
返回值
类型: HRESULT
如果该方法成功,则返回 S_OK。 否则,将返回 HRESULT 错误代码。
要求
| 目标平台 | Windows |
| 标头 | dcomp.h |
| Library | Dcomp.lib |
| DLL | Dcomp.dll |
设置阴影颜色的绿色值。
HRESULT SetGreen(
[in] IDCompositionAnimation *animation
);
[in] animation
表示阴影颜色的绿色值随时间变化的动画。 此参数不能为 NULL。
类型: HRESULT
如果该方法成功,则返回 S_OK。 否则,将返回 HRESULT 错误代码。
| 目标平台 | Windows |
| 标头 | dcomp.h |
| Library | Dcomp.lib |
| DLL | Dcomp.dll |