ReactOS 0.4.16-dev-338-g34e76ad
dmksctrl.h
Go to the documentation of this file.
1
2
3ifndef _DMKSCTRL_
4#define _DMKSCTRL_
5
6#if _MSC_VER >= 1200
7#pragma warning(push)
8#endif
9
10#include <pshpack8.h>
11#include <objbase.h>
12
13DEFINE_GUID(IID_IKsControl, 0x28F54685, 0x06FD, 0x11D2, 0xB2, 0x7A, 0x00, 0xA0, 0xC9, 0x22, 0x31, 0x96);
14#ifndef _KSMEDIA_
15DEFINE_GUID(KSDATAFORMAT_SUBTYPE_MIDI, 0x1D262760, 0xE957, 0x11CF, 0xA5, 0xD6, 0x28, 0xDB, 0x04, 0xC1, 0x00, 0x00);
16DEFINE_GUID(KSDATAFORMAT_SUBTYPE_DIRECTMUSIC, 0x1A82F8BC, 0x3F8B, 0x11D2, 0xB7, 0x74, 0x00, 0x60, 0x08, 0x33, 0x16, 0xC1);
17#endif
18
19#ifndef STATIC_IID_IKsControl
20 #define STATIC_IID_IKsControl 0x28F54685L, 0x06FD, 0x11D2, 0xB2, 0x7A, 0x00, 0xA0, 0xC9, 0x22, 0x31, 0x96
21#endif
22
23#if !defined(_NTRTL_)
24 #ifndef STATICGUIDOF
25 #define STATICGUIDOF(guid) STATIC_##guid
26 #endif
27 #ifndef DEFINE_GUIDEX
28 #define DEFINE_GUIDEX(name) EXTERN_C const CDECL GUID name
29 #endif
30#endif
31
32#ifndef _KS_
33#define _KS_
34#define KSMETHOD_TYPE_NONE 0x00000000
35#define KSMETHOD_TYPE_READ 0x00000001
36#define KSMETHOD_TYPE_WRITE 0x00000002
37#define KSMETHOD_TYPE_MODIFY 0x00000003
38#define KSMETHOD_TYPE_SOURCE 0x00000004
39#define KSMETHOD_TYPE_SEND 0x00000001
40#define KSMETHOD_TYPE_SETSUPPORT 0x00000100
41#define KSMETHOD_TYPE_BASICSUPPORT 0x00000200
42#define KSPROPERTY_TYPE_GET 0x00000001
43#define KSPROPERTY_TYPE_SET 0x00000002
44#define KSPROPERTY_TYPE_SETSUPPORT 0x00000100
45#define KSPROPERTY_TYPE_BASICSUPPORT 0x00000200
46#define KSPROPERTY_TYPE_RELATIONS 0x00000400
47#define KSPROPERTY_TYPE_SERIALIZESET 0x00000800
48#define KSPROPERTY_TYPE_UNSERIALIZESET 0x00001000
49#define KSPROPERTY_TYPE_SERIALIZERAW 0x00002000
50#define KSPROPERTY_TYPE_UNSERIALIZERAW 0x00004000
51#define KSPROPERTY_TYPE_SERIALIZESIZE 0x00008000
52#define KSPROPERTY_TYPE_DEFAULTVALUES 0x00010000
53#define KSPROPERTY_TYPE_TOPOLOGY 0x10000000
54
55#if (defined(_MSC_EXTENSIONS) || defined(__cplusplus)) && !defined(CINTERFACE)
56typedef struct
57{
58 union
59 {
60 struct
61 {
62 GUID Set;
63 ULONG Id;
65 };
67 };
69#else
70typedef struct
71{
72 union
73 {
74 struct
75 {
81 };
83#endif
84#endif
85
86#ifndef _IKsControl_
87#define _IKsControl_
88
89#ifdef DECLARE_INTERFACE_
90
91
92#undef INTERFACE
93#define INTERFACE IKsControl
95{
99 STDMETHOD(KsProperty)(THIS_ IN PKSPROPERTY Property, IN ULONG PropertyLength, IN OUT LPVOID PropertyData,
101 STDMETHOD(KsMethod)(THIS_ IN PKSMETHOD Method, IN ULONG MethodLength, IN OUT LPVOID MethodData,
103 STDMETHOD(KsEvent)(THIS_ IN PKSEVENT Event OPTIONAL, IN ULONG EventLength, IN OUT LPVOID EventData,
105};
106#endif
107#endif
108
109#include <poppack.h>
110
111#if _MSC_VER >= 1200
112#pragma warning(pop)
113#endif
114
115#endif
DWORD Id
#define DECLARE_INTERFACE_(i, b)
Definition: basetyps.h:78
#define PURE
Definition: basetyps.h:64
#define THIS_
Definition: basetyps.h:65
#define THIS
Definition: basetyps.h:66
#define STDMETHOD_(t, m)
Definition: basetyps.h:63
#define STDMETHOD(m)
Definition: basetyps.h:62
_In_ BOOLEAN Release
Definition: cdrom.h:920
_In_ ULONG _In_opt_ WDFREQUEST _In_opt_ PVOID _In_ size_t _In_ PVOID _In_ size_t _Out_ size_t * DataLength
Definition: cdrom.h:1444
#define FAR
Definition: zlib.h:34
#define KSDATAFORMAT_SUBTYPE_DIRECTMUSIC
Definition: dmusprop.h:9
const GUID IID_IKsControl
Definition: filter.c:44
struct KSIDENTIFIER KSEVENT
struct KSIDENTIFIER KSPROPERTY
struct KSIDENTIFIER KSMETHOD
struct KSIDENTIFIER * PKSEVENT
#define _DMKSCTRL_
Definition: dmksctrl.h:4
struct KSIDENTIFIER * PKSIDENTIFIER
struct KSIDENTIFIER * PKSPROPERTY
struct KSIDENTIFIER * PKSMETHOD
union Alignment_ Alignment
_In_ WDFDEVICE _In_ PWDF_DEVICE_INTERFACE_PROPERTY_DATA PropertyData
#define KSDATAFORMAT_SUBTYPE_MIDI
Definition: ksmedia.h:1016
static HRESULT QueryInterface(REFIID, void **)
Definition: events.c:2587
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
static BOOL Set
Definition: pageheap.c:10
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8)
Definition: guiddef.h:68
#define REFIID
Definition: guiddef.h:118
ULONG Id
Definition: dmksctrl.h:77
LONGLONG Alignment
Definition: dmksctrl.h:80
ULONG Flags
Definition: dmksctrl.h:78
GUID Set
Definition: dmksctrl.h:76
#define OPTIONAL
Definition: typedefs.h:41
int64_t LONGLONG
Definition: typedefs.h:68
#define IN
Definition: typedefs.h:39
uint32_t ULONG
Definition: typedefs.h:59
#define OUT
Definition: typedefs.h:40
_Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_ ULONG _In_opt_ PWDF_MEMORY_DESCRIPTOR _In_opt_ PWDF_MEMORY_DESCRIPTOR _In_opt_ PWDF_REQUEST_SEND_OPTIONS _Out_opt_ PULONG_PTR BytesReturned
Definition: wdfiotarget.h:1052
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170