@@ -86,7 +86,7 @@ DEFINE_KSPROPERTY_SET_TABLE(gPinPropertySets) {
86
86
DEFINE_KSAUTOMATION_TABLE (gPinAutomation ) {
87
87
DEFINE_KSAUTOMATION_PROPERTIES (gPinPropertySets ),
88
88
DEFINE_KSAUTOMATION_METHODS_NULL,
89
- DEFINE_KSAUTOMATION_EVENTS_NULL,
89
+ DEFINE_KSAUTOMATION_EVENTS_NULL
90
90
};
91
91
92
92
const KSPIN_INTERFACE gPinInterfaces [] = {
@@ -167,10 +167,24 @@ DEFINE_KSPROPERTY_SET_TABLE(gFilterPropertySets) {
167
167
nullptr )
168
168
};
169
169
170
+ DEFINE_KSEVENT_TABLE (gFilterEvents ) {
171
+ DEFINE_KSEVENT_ITEM (
172
+ KSEVENT_PINCAPS_FORMATCHANGE,
173
+ sizeof (KSEVENTDATA), 0 ,
174
+ nullptr , nullptr , nullptr )
175
+ };
176
+
177
+ DEFINE_KSEVENT_SET_TABLE (gFilterEventSets ) {
178
+ DEFINE_KSEVENT_SET (
179
+ &KSEVENTSETID_PinCapsChange,
180
+ SIZEOF_ARRAY (gFilterEvents ),
181
+ gFilterEvents )
182
+ };
183
+
170
184
DEFINE_KSAUTOMATION_TABLE (gFilterAutomation ) {
171
185
DEFINE_KSAUTOMATION_PROPERTIES (gFilterPropertySets ),
172
186
DEFINE_KSAUTOMATION_METHODS_NULL,
173
- DEFINE_KSAUTOMATION_EVENTS_NULL ,
187
+ DEFINE_KSAUTOMATION_EVENTS ( gFilterEventSets ) ,
174
188
};
175
189
176
190
static KSFILTER_DESCRIPTOR gFilterDescriptorTemplate = {
0 commit comments