13DEFINE_GUID(
IID_IKsControl, 0x28F54685, 0x06FD, 0x11D2, 0xB2, 0x7A, 0x00, 0xA0, 0xC9, 0x22, 0x31, 0x96);
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);
19#ifndef STATIC_IID_IKsControl
20 #define STATIC_IID_IKsControl 0x28F54685L, 0x06FD, 0x11D2, 0xB2, 0x7A, 0x00, 0xA0, 0xC9, 0x22, 0x31, 0x96
25 #define STATICGUIDOF(guid) STATIC_##guid
28 #define DEFINE_GUIDEX(name) EXTERN_C const CDECL GUID name
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
55#if (defined(_MSC_EXTENSIONS) || defined(__cplusplus)) && !defined(CINTERFACE)
89#ifdef DECLARE_INTERFACE_
93#define INTERFACE IKsControl
#define DECLARE_INTERFACE_(i, b)
_In_ ULONG _In_opt_ WDFREQUEST _In_opt_ PVOID _In_ size_t _In_ PVOID _In_ size_t _Out_ size_t * DataLength
#define KSDATAFORMAT_SUBTYPE_DIRECTMUSIC
const GUID IID_IKsControl
struct KSIDENTIFIER KSEVENT
struct KSIDENTIFIER KSPROPERTY
struct KSIDENTIFIER KSMETHOD
struct KSIDENTIFIER * PKSEVENT
struct KSIDENTIFIER * PKSIDENTIFIER
struct KSIDENTIFIER * PKSPROPERTY
struct KSIDENTIFIER * PKSMETHOD
union Alignment_ Alignment
_In_ WDFDEVICE _In_ PWDF_DEVICE_INTERFACE_PROPERTY_DATA PropertyData
static HRESULT QueryInterface(REFIID, void **)
static ULONG WINAPI AddRef(IStream *iface)
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8)
_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
_Must_inspect_result_ _In_ ULONG Flags