This topic has not yet been rated - Rate this topic

StringGetter function

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

Syntax


HRESULT CALLBACK StringGetter(
  _In_       const IUnknown *effect,
  _Out_opt_  BYTE *data,
  UINT32 dataSize,
  _Out_opt_  UINT32 *actualSize
);

Parameters

effect [in]

Type: const IUnknown*

The effect with the property.

data [out, optional]

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

actualSize [out, optional]

Type: UINT32*

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

Return value

Type: HRESULT CALLBACK

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

Requirements

Header

D2d1effecthelpers.h

 

 

Send comments about this topic to Microsoft

Build date: 11/29/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.