2010-02-26 11:43:19 +00:00
|
|
|
#pragma once
|
2009-08-10 13:07:05 +00:00
|
|
|
|
|
|
|
#include <ntddk.h>
|
|
|
|
#include <windef.h>
|
|
|
|
#include <ks.h>
|
2010-04-15 14:09:38 +00:00
|
|
|
#define NOBITMAP
|
|
|
|
#include <mmreg.h>
|
|
|
|
#include <ksmedia.h>
|
2009-08-10 13:07:05 +00:00
|
|
|
#include <bdatypes.h>
|
|
|
|
#include <bdamedia.h>
|
|
|
|
#include <bdasup.h>
|
|
|
|
|
2010-04-01 02:35:37 +00:00
|
|
|
#define YDEBUG
|
2009-08-10 13:07:05 +00:00
|
|
|
#include <debug.h>
|
|
|
|
|
|
|
|
|
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
LIST_ENTRY Entry;
|
|
|
|
PKSFILTERFACTORY FilterFactoryInstance;
|
|
|
|
PBDA_FILTER_TEMPLATE FilterTemplate;
|
|
|
|
}BDA_FILTER_INSTANCE_ENTRY, *PBDA_FILTER_INSTANCE_ENTRY;
|
|
|
|
|
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
BOOLEAN Initialized;
|
|
|
|
KSPIN_LOCK FilterFactoryInstanceListLock;
|
|
|
|
LIST_ENTRY FilterFactoryInstanceList;
|
|
|
|
}BDA_GLOBAL, *PBDA_GLOBAL;
|
|
|
|
|
|
|
|
|
|
|
|
extern BDA_GLOBAL g_Settings;
|
|
|
|
|
|
|
|
|
|
|
|
PVOID
|
|
|
|
AllocateItem(
|
|
|
|
IN POOL_TYPE PoolType,
|
|
|
|
IN SIZE_T NumberOfBytes);
|
|
|
|
|
|
|
|
VOID
|
|
|
|
FreeItem(
|
|
|
|
IN PVOID Item);
|