1 #pragma once 2 3 #include <ntddk.h> 4 #include <windef.h> 5 #include <ks.h> 6 #define NOBITMAP 7 #include <mmreg.h> 8 #include <ksmedia.h> 9 #include <bdatypes.h> 10 #include <bdamedia.h> 11 #include <bdasup.h> 12 13 // #define NDEBUG 14 #include <debug.h> 15 16 17 typedef struct 18 { 19 LIST_ENTRY Entry; 20 PKSFILTERFACTORY FilterFactoryInstance; 21 PBDA_FILTER_TEMPLATE FilterTemplate; 22 }BDA_FILTER_INSTANCE_ENTRY, *PBDA_FILTER_INSTANCE_ENTRY; 23 24 typedef struct 25 { 26 BOOLEAN Initialized; 27 KSPIN_LOCK FilterFactoryInstanceListLock; 28 LIST_ENTRY FilterFactoryInstanceList; 29 }BDA_GLOBAL, *PBDA_GLOBAL; 30 31 32 extern BDA_GLOBAL g_Settings; 33 34 35 PVOID 36 AllocateItem( 37 IN POOL_TYPE PoolType, 38 IN SIZE_T NumberOfBytes); 39 40 VOID 41 FreeItem( 42 IN PVOID Item); 43