检索指定索引处的效果源。
语法
HRESULT GetSource(
UINT index,
[out] IGraphicsEffectSource **source
);
参数
index
类型: UINT
检索的源的索引。
[out] source
类型: IGraphicsEffectSource**
当方法返回时,此参数将包含指定索引处的源。
返回值
类型: HRESULT
此方法返回 HRESULT 成功或错误代码。
要求
| 要求 | 值 |
|---|---|
| 目标平台 | Windows |
| 标头 | windows.graphics.effects.interop.h |