StringSetter function (d2d1effecthelpers.h)

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

Syntax

HRESULT StringSetter(
  [in] IUnknown   *effect,
  [in] const BYTE *data,
       UINT32     dataSize
);

Parameters

[in] effect

Type: IUnknown*

The effect with the property.

[in] data

Type: const BYTE*

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

dataSize

Type: UINT32

The number of bytes in the data to be retrieved.

Return value

Type: HRESULT CALLBACK

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