RedEyeCorrection::GetParameters method (gdipluseffects.h)

The RedEyeCorrection::GetParameters method gets the current values of the parameters of this RedEyeCorrection object.

Syntax

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

Parameters

[in] size

Type: UINT*

The size, in bytes, of the buffer pointed to by the parameters parameter.

[out] parameters

Type: RedEyeCorrectionParams*

Pointer to a buffer that is large enough to receive a RedEyeCorrectionParams structure followed by an array of RECT structures. To determine the total size of the required buffer, call the GetParameterSize method of the RedEyeCorrection object whose parameters you want to retrieve.

Return value

Type: Status

If the method succeeds, it returns Ok, which is an element of the Status enumeration.

If the method fails, it returns one of the other elements of the Status enumeration.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header gdipluseffects.h (include Gdiplus.h)
Library Gdiplus.lib
DLL Gdiplus.dll

See also

RedEyeCorrection

RedEyeCorrection::SetParameters