mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
add KsInitializeDriver
svn path=/trunk/; revision=26134
This commit is contained in:
parent
08dcc6be8a
commit
1d40e5858d
3 changed files with 53 additions and 0 deletions
|
@ -109,3 +109,4 @@ KsRecalculateStackDepth@8
|
|||
KsSetTargetDeviceObject@8
|
||||
KsSetTargetState@8
|
||||
KsSynchronousIoControlDevice@32
|
||||
KsInitializeDriver@12
|
||||
|
|
|
@ -216,3 +216,17 @@ KsSynchronousIoControlDevice(
|
|||
return STATUS_UNSUCCESSFUL;
|
||||
}
|
||||
|
||||
/*
|
||||
@unimplemented
|
||||
*/
|
||||
KSDDKAPI NTSTATUS NTAPI
|
||||
KsInitializeDriver(
|
||||
IN PDRIVER_OBJECT DriverObject,
|
||||
IN PUNICODE_STRING RegistryPath,
|
||||
IN const KSDEVICE_DESCRIPTOR *Descriptor OPTIONAL
|
||||
)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
return STATUS_UNSUCCESSFUL;
|
||||
}
|
||||
|
||||
|
|
|
@ -1540,6 +1540,37 @@ typedef struct _KSFILTER_DISPATCH
|
|||
PFNKSFILTERVOID Reset;
|
||||
} KSFILTER_DISPATCH, *PKSFILTER_DISPATCH;
|
||||
|
||||
typedef struct {
|
||||
const KSAUTOMATION_TABLE* AutomationTable;
|
||||
const GUID* Type;
|
||||
const GUID* Name;
|
||||
} KSNODE_DESCRIPTOR, *PKSNODE_DESCRIPTOR;
|
||||
|
||||
typedef struct {
|
||||
const KSFILTER_DISPATCH* Dispatch;
|
||||
const KSAUTOMATION_TABLE* AutomationTable;
|
||||
ULONG Version;
|
||||
ULONG Flags;
|
||||
const GUID* ReferenceGuid;
|
||||
ULONG PinDescriptorsCount;
|
||||
ULONG PinDescriptorSize;
|
||||
const KSPIN_DESCRIPTOR_EX* PinDescriptors;
|
||||
ULONG CategoriesCount;
|
||||
const GUID* Categories;
|
||||
ULONG NodeDescriptorsCount;
|
||||
ULONG NodeDescriptorSize;
|
||||
const KSNODE_DESCRIPTOR* NodeDescriptors;
|
||||
ULONG ConnectionsCount;
|
||||
const KSTOPOLOGY_CONNECTION* Connections;
|
||||
const KSCOMPONENTID* ComponentId;
|
||||
} KSFILTER_DESCRIPTOR, *PKSFILTER_DESCRIPTOR;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
const KSDEVICE_DISPATCH* Dispatch;
|
||||
ULONG FilterDescriptorsCount;
|
||||
const KSFILTER_DESCRIPTOR*const* FilterDescriptors;
|
||||
} KSDEVICE_DESCRIPTOR, *PKSDEVICE_DESCRIPTOR;
|
||||
|
||||
/* ===============================================================
|
||||
Minidriver Callbacks
|
||||
|
@ -2287,6 +2318,13 @@ KsSynchronousIoControlDevice(
|
|||
http://www.osronline.com/ddkx/stream/avstream_5q9f.htm
|
||||
*/
|
||||
|
||||
KSDDKAPI NTSTATUS NTAPI
|
||||
KsInitializeDriver(
|
||||
IN PDRIVER_OBJECT DriverObject,
|
||||
IN PUNICODE_STRING RegistryPath,
|
||||
IN const KSDEVICE_DESCRIPTOR *Descriptor OPTIONAL
|
||||
);
|
||||
|
||||
#if 0
|
||||
typedef void (*PFNKSFILTERFACTORYPOWER)(
|
||||
IN PKSFILTERFACTORY FilterFactory,
|
||||
|
|
Loading…
Reference in a new issue