ColorMatrixEffect::GetParameters 方法获取此 ColorMatrixEffect 对象的当前 5x5 颜色矩阵的元素。
语法
Status GetParameters(
  [in]  UINT        *size,
  [out] ColorMatrix *matrix
);
参数
[in] size
类型: UINT*
指向 UINT 的指针,该 UINT 指定 ColorMatrix 结构的大小(以字节为单位)。
[out] matrix
类型: ColorMatrix*
指向接收颜色矩阵元素的 ColorMatrix 结构的指针。
返回值
类型: 状态
如果方法成功,则返回 Ok,这是 Status 枚举的元素。
如果 方法失败,它将返回 Status 枚举的其他元素之一。
要求
| 要求 | 值 | 
|---|---|
| 最低受支持的客户端 | Windows Vista [仅限桌面应用] | 
| 最低受支持的服务器 | Windows Server 2008 [仅限桌面应用] | 
| 目标平台 | Windows | 
| 标头 | gdipluseffects.h (包括 Gdiplus.h) | 
| Library | Gdiplus.lib | 
| DLL | Gdiplus.dll |