Commit 950c2da6 authored by Ziqing Hui's avatar Ziqing Hui Committed by Alexandre Julliard

include: Add defines for D2D1_PROPERTY_BINDING.

parent b646682a
...@@ -18,6 +18,12 @@ ...@@ -18,6 +18,12 @@
import "d2d1_1.idl"; import "d2d1_1.idl";
typedef HRESULT (__stdcall *PD2D1_PROPERTY_SET_FUNCTION)(IUnknown *effect,
const BYTE *data, UINT32 data_size);
typedef HRESULT (__stdcall *PD2D1_PROPERTY_GET_FUNCTION)(const IUnknown *effect,
BYTE *data, UINT32 data_size, UINT32 *actual_size);
typedef enum D2D1_FILTER typedef enum D2D1_FILTER
{ {
D2D1_FILTER_MIN_MAG_MIP_POINT = 0x00, D2D1_FILTER_MIN_MAG_MIP_POINT = 0x00,
...@@ -39,6 +45,13 @@ typedef enum D2D1_FEATURE ...@@ -39,6 +45,13 @@ typedef enum D2D1_FEATURE
D2D1_FEATURE_FORCE_DWORD = 0xffffffff D2D1_FEATURE_FORCE_DWORD = 0xffffffff
} D2D1_FEATURE; } D2D1_FEATURE;
typedef struct D2D1_PROPERTY_BINDING
{
const WCHAR *propertyName;
PD2D1_PROPERTY_SET_FUNCTION setFunction;
PD2D1_PROPERTY_GET_FUNCTION getFunction;
} D2D1_PROPERTY_BINDING;
typedef enum D2D1_CHANNEL_DEPTH typedef enum D2D1_CHANNEL_DEPTH
{ {
D2D1_CHANNEL_DEPTH_DEFAULT = 0x0, D2D1_CHANNEL_DEPTH_DEFAULT = 0x0,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment