mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
- <@silverblade> it does nothing, it can be destroyed. -- Goodbye avtest, no one will miss you
svn path=/trunk/; revision=37748
This commit is contained in:
parent
8ad61b6d08
commit
256458f8ad
3 changed files with 0 additions and 95 deletions
|
@ -1,7 +0,0 @@
|
||||||
<module name="avtest" type="kernelmodedriver" installbase="system32/drivers" installname="avtest.sys">
|
|
||||||
<include base="avtest">.</include>
|
|
||||||
<define name="_NTDDK_" />
|
|
||||||
<library>ks</library>
|
|
||||||
<library>ntoskrnl</library>
|
|
||||||
<file>entry.c</file>
|
|
||||||
</module>
|
|
|
@ -1,84 +0,0 @@
|
||||||
#include <ddk/ntddk.h>
|
|
||||||
#include <debug.h>
|
|
||||||
#include <ks.h>
|
|
||||||
|
|
||||||
/* Where do we go? */
|
|
||||||
#ifndef SIZEOF_ARRAY
|
|
||||||
#define SIZEOF_ARRAY(array) \
|
|
||||||
(sizeof(array) / sizeof(array[0]))
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Not in the DDK but hey! */
|
|
||||||
#define DEFINE_KSFILTER_DISPATCH(name) \
|
|
||||||
const KSFILTER_DISPATCH name =
|
|
||||||
|
|
||||||
/* To be put in KS.H */
|
|
||||||
#define DEFINE_KSFILTER_DESCRIPTOR(name) \
|
|
||||||
const KSFILTER_DESCRIPTOR name =
|
|
||||||
|
|
||||||
#define DEFINE_KSFILTER_DESCRIPTOR_TABLE(name) \
|
|
||||||
const KSFILTER_DESCRIPTOR* const name[] =
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
NTSTATUS FilterCreate(
|
|
||||||
IN OUT PKSFILTER Filter,
|
|
||||||
IN PIRP Irp)
|
|
||||||
{
|
|
||||||
return STATUS_SUCCESS;
|
|
||||||
}
|
|
||||||
|
|
||||||
NTSTATUS FilterClose(
|
|
||||||
IN OUT PKSFILTER Filter,
|
|
||||||
IN PIRP Irp)
|
|
||||||
{
|
|
||||||
return STATUS_SUCCESS;
|
|
||||||
}
|
|
||||||
|
|
||||||
NTSTATUS Process(
|
|
||||||
IN PKSFILTER Filter,
|
|
||||||
IN PKSPROCESSPIN_INDEXENTRY ProcessPinsIndex)
|
|
||||||
{
|
|
||||||
return STATUS_SUCCESS;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
DEFINE_KSFILTER_DISPATCH(FilterDispatch)
|
|
||||||
{
|
|
||||||
FilterCreate,
|
|
||||||
FilterClose,
|
|
||||||
Process,
|
|
||||||
NULL // Reset
|
|
||||||
};
|
|
||||||
|
|
||||||
DEFINE_KSFILTER_DESCRIPTOR(FilterDesc)
|
|
||||||
{
|
|
||||||
};
|
|
||||||
|
|
||||||
DEFINE_KSFILTER_DESCRIPTOR_TABLE(FilterDescs)
|
|
||||||
{
|
|
||||||
&FilterDesc
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
const KSDEVICE_DESCRIPTOR DeviceDescriptor =
|
|
||||||
{
|
|
||||||
NULL,
|
|
||||||
SIZEOF_ARRAY(FilterDescs),
|
|
||||||
FilterDescs
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
/* Funcs */
|
|
||||||
|
|
||||||
NTSTATUS STDCALL
|
|
||||||
DriverEntry(
|
|
||||||
IN PDRIVER_OBJECT DriverObject,
|
|
||||||
IN PUNICODE_STRING RegistryPathName)
|
|
||||||
{
|
|
||||||
DPRINT1("AVStream test component loaded!\n");
|
|
||||||
|
|
||||||
return KsInitializeDriver(DriverObject, RegistryPathName,
|
|
||||||
&DeviceDescriptor);
|
|
||||||
}
|
|
|
@ -1,9 +1,5 @@
|
||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<group xmlns:xi="http://www.w3.org/2001/XInclude">
|
<group xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||||
<directory name="avtest">
|
|
||||||
<xi:include href="avtest/avtest.rbuild" />
|
|
||||||
</directory>
|
|
||||||
|
|
||||||
<directory name="green">
|
<directory name="green">
|
||||||
<xi:include href="green/green.rbuild" />
|
<xi:include href="green/green.rbuild" />
|
||||||
</directory>
|
</directory>
|
||||||
|
|
Loading…
Reference in a new issue