PD2D1_PROPERTY_SET_FUNCTION function pointer
Sets a property on an effect.
Syntax
typedef HRESULT ( CALLBACK *PD2D1_PROPERTY_SET_FUNCTION)( _In_ IUnknown *effect, _In_ const BYTE *data, UINT32 dataSize );
Parameters
- effect [in]
-
A pointer to the IUnknown interface for the effect on which the property will be set.
- data [in]
-
A pointer to the data to be set on the property.
- dataSize
-
The number of bytes in the property set by the function.
Return value
Returns S_OK if successful; otherwise, returns an HRESULT error code.
Remarks
Supply a PD2D1_PROPERTY_SET_FUNCTION function pointer to the setFunction member of a D2D1_PROPERTY_BINDING structure to specify the function that Direct2D uses to set data for a property.
Requirements
|
Minimum supported client |
Windows 8 and Platform Update for Windows 7 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | Windows Store apps] |
|
Minimum supported phone |
Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps] |
|
Header |
|
See also