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