Author: janderwald
Date: Thu Aug 20 14:38:52 2009
New Revision: 42804
URL:
http://svn.reactos.org/svn/reactos?rev=42804&view=rev
Log:
- Implement DllInitialize
Modified:
trunk/reactos/drivers/multimedia/bdasup/bdasup.c
trunk/reactos/drivers/multimedia/bdasup/bdasup.spec
Modified: trunk/reactos/drivers/multimedia/bdasup/bdasup.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/multimedia/bdasup/…
==============================================================================
--- trunk/reactos/drivers/multimedia/bdasup/bdasup.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/multimedia/bdasup/bdasup.c [iso-8859-1] Thu Aug 20 14:38:52
2009
@@ -154,6 +154,21 @@
*/
NTSTATUS
NTAPI
+DllInitialize(
+ PUNICODE_STRING RegistryPath)
+{
+ KeInitializeSpinLock(&g_Settings.FilterFactoryInstanceListLock);
+ InitializeListHead(&g_Settings.FilterFactoryInstanceList);
+ g_Settings.Initialized = TRUE;
+
+ return STATUS_SUCCESS;
+}
+
+/*
+ @implemented
+*/
+NTSTATUS
+NTAPI
BdaCheckChanges(IN PIRP Irp)
{
if (!Irp)
Modified: trunk/reactos/drivers/multimedia/bdasup/bdasup.spec
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/multimedia/bdasup/…
==============================================================================
--- trunk/reactos/drivers/multimedia/bdasup/bdasup.spec [iso-8859-1] (original)
+++ trunk/reactos/drivers/multimedia/bdasup/bdasup.spec [iso-8859-1] Thu Aug 20 14:38:52
2009
@@ -1,3 +1,4 @@
+@ stdcall DllInitialize(ptr)
@ stdcall BdaCheckChanges(ptr)
@ stdcall BdaCommitChanges(ptr)
@ stdcall BdaCreateFilterFactory(ptr ptr ptr)