ValueGetter function (d2d1effecthelpers.h)

Calls a member-function property setter callback for a value-type property.

Syntax

HRESULT ValueGetter(
  [in]            const IUnknown *effect,
  [out, optional] BYTE           *data,
                  UINT32         dataSize,
  [out, optional] UINT32         *actualSize
);

Parameters

[in] effect

The effect with the property.

[out, optional] data

When this method returns, contains a pointer to the data requested.

dataSize

The number of bytes in the data to be retrieved.

[out, optional] actualSize

The actual size of the data, if the data is not measured in bytes.

Return value

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Target Platform Windows
Header d2d1effecthelpers.h
Library D2d1.lib
DLL D2d1.dll