mirror of
https://github.com/reactos/reactos.git
synced 2024-11-01 12:26:32 +00:00
60b0afc3af
bdasup: Addendum to40c15ec
(r46632). kmixer: Addendum to3e489bf
(r42143). mmixer: Addendum toc42d9f2
(r44872). stream: Addendum to4a0debf
(r41662). Serge plans a follow up that will remove all other remaining YDEBUG in the source tree. The ones covered here he considered to be the most trivial ones.
43 lines
716 B
C
43 lines
716 B
C
#pragma once
|
|
|
|
#include <ntddk.h>
|
|
#include <windef.h>
|
|
#include <ks.h>
|
|
#define NOBITMAP
|
|
#include <mmreg.h>
|
|
#include <ksmedia.h>
|
|
#include <bdatypes.h>
|
|
#include <bdamedia.h>
|
|
#include <bdasup.h>
|
|
|
|
// #define NDEBUG
|
|
#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);
|