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