RedEyeCorrection::GetParameters メソッド (gdipluseffects.h)

RedEyeCorrection::GetParameters メソッドは、この RedEyeCorrection オブジェクトのパラメーターの現在の値を取得します。

構文

Status GetParameters(
  [in]  UINT                   *size,
  [out] RedEyeCorrectionParams *parameters
);

パラメーター

[in] size

型: UINT*

parameters パラメーターが指すバッファーのサイズ (バイト単位)。

[out] parameters

種類: RedEyeCorrectionParams*

RedEyeCorrectionParams 構造体の後に RECT 構造体の配列を受け取るのに十分な大きさのバッファーへのポインター。 必要なバッファーの合計サイズを確認するには、パラメーターを取得する RedEyeCorrection オブジェクトの GetParameterSize メソッドを呼び出します。

戻り値

種類: 状態

メソッドが成功した場合は、Status 列挙体の要素である Ok を返します

メソッドが失敗した場合は、 Status 列挙体の他の要素のいずれかを返します。

要件

要件
サポートされている最小のクライアント Windows Vista [デスクトップ アプリのみ]
サポートされている最小のサーバー Windows Server 2008 [デスクトップ アプリのみ]
対象プラットフォーム Windows
ヘッダー gdipluseffects.h (Gdiplus.h を含む)
Library Gdiplus.lib
[DLL] Gdiplus.dll

こちらもご覧ください

RedEyeCorrection

RedEyeCorrection::SetParameters