1 #ifndef WINE_WINE_OBJ_KSPROPERTY_H
2 #define WINE_WINE_OBJ_KSPROPERTY_H
4 /* NOTE: IKsPropertySet is declared in both dsound.h and strmif.h */
6 DEFINE_GUID(IID_IKsPropertySet, 0x31EFAC30,0x515C,0x11D0,0xA9,0xAA,0x00,0xAA,0x00,0x61,0xBE,0x93);
7 typedef struct IKsPropertySet IKsPropertySet,*LPKSPROPERTYSET;
9 /*****************************************************************************
10 * IKsPropertySet interface
12 #define KSPROPERTY_SUPPORT_GET 1
13 #define KSPROPERTY_SUPPORT_SET 2
15 #define ICOM_INTERFACE IKsPropertySet
16 #define IKsPropertySet_METHODS \
17 ICOM_METHOD7(HRESULT,Get,REFGUID,rgid,ULONG,x1,LPVOID,p1,ULONG,x2,LPVOID,p2,ULONG,x3,ULONG*,px4);\
18 ICOM_METHOD6(HRESULT,Set,REFGUID,rgid,ULONG,x1,LPVOID,p1,ULONG,x2,LPVOID,p2,ULONG,x3);\
19 ICOM_METHOD3(HRESULT,QuerySupport,REFGUID,rgid,ULONG,x1,ULONG*,px2);
20 #define IKsPropertySet_IMETHODS \
22 IKsPropertySet_METHODS
23 ICOM_DEFINE(IKsPropertySet,IUnknown)
26 #define IKsPropertySet_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
27 #define IKsPropertySet_AddRef(p) ICOM_CALL (AddRef,p)
28 #define IKsPropertySet_Release(p) ICOM_CALL (Release,p)
29 #define IKsPropertySet_Get(p,a,b,c,d,e,f,g) ICOM_CALL7(Get,p,a,b,c,d,e,f,g)
30 #define IKsPropertySet_Set(p,a,b,c,d,e,f) ICOM_CALL6(Set,p,a,b,c,d,e,f)
31 #define IKsPropertySet_QuerySupport(p,a,b,c) ICOM_CALL3(QuerySupport,p,a,b,c)
32 /* The real windows header declares 'QuerySupport' in dsound.h */
33 /* but 'QuerySupported' in strmif.h ! */
34 #define IKsPropertySet_QuerySupported(p,a,b,c) ICOM_CALL3(QuerySupport,p,a,b,c)
37 #endif /* WINE_WINE_OBJ_KSPROPERTY_H */