diff options
author | Jose Fonseca <jfonseca@vmware.com> | 2016-02-01 13:28:54 +0000 |
---|---|---|
committer | Jose Fonseca <jfonseca@vmware.com> | 2016-03-05 17:17:30 +0000 |
commit | cc9bea9629d4bbee882f0d5f03e92a5b02b0e698 (patch) | |
tree | a655a6d5aeac9373c92373ac09773328ab6c7c93 /specs | |
parent | 83e6ddf6e0807174cae1bbdfb669e3b9ddd9b662 (diff) |
d2d1trace: Define D2D1_PROPERTY_BINDING struct members.
Diffstat (limited to 'specs')
-rw-r--r-- | specs/d2d1.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/specs/d2d1.py b/specs/d2d1.py index dacbea69..815a121f 100644 --- a/specs/d2d1.py +++ b/specs/d2d1.py @@ -1223,7 +1223,13 @@ ID2D1Device.methods += [ StdMethod(Void, "ClearResources", [(UINT32, "millisecondsSinceUse")]), ] -D2D1_PROPERTY_BINDING = Struct("D2D1_PROPERTY_BINDING", []) +PD2D1_PROPERTY_SET_FUNCTION = Opaque("PD2D1_PROPERTY_SET_FUNCTION") +PD2D1_PROPERTY_GET_FUNCTION = Opaque("PD2D1_PROPERTY_GET_FUNCTION") +D2D1_PROPERTY_BINDING = Struct("D2D1_PROPERTY_BINDING", [ + (PCWSTR, "propertyName"), + (PD2D1_PROPERTY_SET_FUNCTION, "setFunction"), + (PD2D1_PROPERTY_GET_FUNCTION, "getFunction"), +]) PD2D1_EFFECT_FACTORY = Opaque("PD2D1_EFFECT_FACTORY") |