Effect::GetParameterSize method

The Effect::GetParameterSize method gets the total size, in bytes, of the parameters currently set for this Effect. The Effect::GetParameterSize method is usually called on an object that is an instance of a descendant of the Effect class.

Syntax

Status GetParameterSize(
  UINT *size
);

Parameters

size

Type: UINT*

Pointer to a UINT that receives the total size of the parameters.

Return Value

Type: 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

   
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

Effect

SetParameters