ReactOS 0.4.16-dev-197-g92996da
|
Go to the source code of this file.
Macros | |
#define | NDEBUG |
Variables | |
const GUID | GUID_NULL = {0x00000000L, 0x0000, 0x0000, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}} |
const GUID | KSMEDIUMSETID_Standard = {0x4747B320L, 0x62CE, 0x11CF, {0xA5, 0xD6, 0x28, 0xDB, 0x04, 0xC1, 0x00, 0x00}} |
static KSDISPATCH_TABLE | KoDispatchTable |
NTSTATUS NTAPI DllInitialize | ( | PUNICODE_STRING | RegistryPath | ) |
COMDDKAPI NTSTATUS NTAPI KoDeviceInitialize | ( | IN PDEVICE_OBJECT | DeviceObject | ) |
Definition at line 1513 of file api.c.
COMDDKAPI NTSTATUS NTAPI KoDriverInitialize | ( | IN PDRIVER_OBJECT | DriverObject, |
IN PUNICODE_STRING | RegistryPathName, | ||
IN KoCreateObjectHandler | CreateObjectHandler | ||
) |
Definition at line 1530 of file api.c.
Referenced by KoDriverInitialize(), and KopDispatchCreate().
NTSTATUS NTAPI KopAddDevice | ( | IN PDRIVER_OBJECT | DriverObject, |
IN PDEVICE_OBJECT | PhysicalDeviceObject | ||
) |
Definition at line 1441 of file api.c.
Referenced by KoDriverInitialize().
Definition at line 1308 of file api.c.
Definition at line 1360 of file api.c.
Referenced by KoDeviceInitialize(), KopAddDevice(), and KopDispatchCreate().
Definition at line 1587 of file api.c.
Referenced by IKsPin_DispatchCreateClock().
Definition at line 1623 of file api.c.
KSDDKAPI VOID NTAPI KsAcquireDeviceSecurityLock | ( | IN KSDEVICE_HEADER | DevHeader, |
IN BOOLEAN | Exclusive | ||
) |
Definition at line 69 of file api.c.
Referenced by KsSetPowerDispatch(), and KsSetTargetDeviceObject().
Definition at line 23 of file api.c.
KSDDKAPI NTSTATUS NTAPI KsAddObjectCreateItemToDeviceHeader | ( | IN KSDEVICE_HEADER | DevHeader, |
IN PDRIVER_DISPATCH | Create, | ||
IN PVOID | Context, | ||
IN PWCHAR | ObjectClass, | ||
IN PSECURITY_DESCRIPTOR | SecurityDescriptor | ||
) |
Definition at line 798 of file api.c.
Referenced by KoDeviceInitialize(), and PcRegisterSubdevice().
KSDDKAPI NTSTATUS NTAPI KsAddObjectCreateItemToObjectHeader | ( | IN KSOBJECT_HEADER | ObjectHeader, |
IN PDRIVER_DISPATCH | Create, | ||
IN PVOID | Context, | ||
IN PWCHAR | ObjectClass, | ||
IN PSECURITY_DESCRIPTOR | SecurityDescriptor | ||
) |
Definition at line 842 of file api.c.
KSDDKAPI NTSTATUS NTAPI KsAllocateDeviceHeader | ( | OUT KSDEVICE_HEADER * | OutHeader, |
IN ULONG | ItemsCount, | ||
IN PKSOBJECT_CREATE_ITEM ItemsList | OPTIONAL | ||
) |
Definition at line 522 of file api.c.
Referenced by KMixAllocateDeviceHeader(), KopAddDevice(), KsInitializeDevice(), PcAddAdapterDevice(), StreamClassAddDevice(), SysAudioAllocateDeviceHeader(), and WdmaudAddDevice().
KSDDKAPI NTSTATUS NTAPI KsAllocateObjectCreateItem | ( | IN KSDEVICE_HEADER | DevHeader, |
IN PKSOBJECT_CREATE_ITEM | CreateItem, | ||
IN BOOLEAN | AllocateEntry, | ||
IN PFNKSITEMFREECALLBACK ItemFreeCallback | OPTIONAL | ||
) |
Definition at line 886 of file api.c.
Referenced by IKsFilterFactory_fnInitialize(), and KsFilterFactoryAddCreateItem().
KSDDKAPI NTSTATUS NTAPI KsAllocateObjectHeader | ( | OUT KSOBJECT_HEADER * | Header, |
IN ULONG | ItemsCount, | ||
IN PKSOBJECT_CREATE_ITEM ItemsList | OPTIONAL, | ||
IN PIRP | Irp, | ||
IN KSDISPATCH_TABLE * | Table | ||
) |
Definition at line 610 of file api.c.
Referenced by CreatePin(), DispatchCreateKMix(), DispatchCreateSysAudio(), DispatchCreateSysAudioPin(), InitializeFilterWithKs(), KopDispatchCreate(), KsCreateDefaultAllocatorEx(), KsCreateDefaultClock(), KspCreateFilter(), KspCreatePin(), and NewDispatchObject().
KSDDKAPI NTSTATUS NTAPI KsCacheMedium | ( | IN PUNICODE_STRING | SymbolicLink, |
IN PKSPIN_MEDIUM | Medium, | ||
IN ULONG | PinDirection | ||
) |
Definition at line 1210 of file api.c.
Referenced by KsRegisterFilterWithNoKSPins().
Definition at line 1693 of file api.c.
KSDDKAPI NTSTATUS NTAPI KsCreateDefaultSecurity | ( | IN PSECURITY_DESCRIPTOR ParentSecurity | OPTIONAL, |
OUT PSECURITY_DESCRIPTOR * | DefaultSecurity | ||
) |
Definition at line 1025 of file api.c.
Definition at line 110 of file api.c.
Referenced by KMix_Pnp(), KoDriverInitialize(), KsDispatchIrp(), KspDispatchIrp(), SysAudio_Pnp(), and WdmAudPnp().
Definition at line 166 of file api.c.
Referenced by DriverEntry(), KoDriverInitialize(), and KsDispatchIrp().
Definition at line 227 of file api.c.
Referenced by DriverEntry(), KoDriverInitialize(), KsDispatchIrp(), and KsInitializeDriver().
KSDDKAPI ULONG NTAPI KsDeviceGetBusData | ( | IN PKSDEVICE | Device, |
IN ULONG | DataType, | ||
IN PVOID | Buffer, | ||
IN ULONG | Offset, | ||
IN ULONG | Length | ||
) |
Definition at line 1823 of file api.c.
KSDDKAPI void NTAPI KsDeviceRegisterAdapterObject | ( | IN PKSDEVICE | Device, |
IN PADAPTER_OBJECT | AdapterObject, | ||
IN ULONG | MaxMappingsByteCount, | ||
IN ULONG | MappingTableStride | ||
) |
Definition at line 1841 of file api.c.
KSDDKAPI NTSTATUS NTAPI KsForwardAndCatchIrp | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN PIRP | Irp, | ||
IN PFILE_OBJECT | FileObject, | ||
IN KSSTACK_USE | StackUse | ||
) |
KSDDKAPI NTSTATUS NTAPI KsForwardIrp | ( | IN PIRP | Irp, |
IN PFILE_OBJECT | FileObject, | ||
IN BOOLEAN | ReuseStackLocation | ||
) |
KSDDKAPI VOID NTAPI KsFreeDeviceHeader | ( | IN KSDEVICE_HEADER | DevHeader | ) |
Definition at line 590 of file api.c.
Referenced by KopAddDevice(), KsDefaultDispatchPnp(), KsInitializeDevice(), KsTerminateDevice(), and PcAddAdapterDevice().
KSDDKAPI NTSTATUS NTAPI KsFreeObjectCreateItem | ( | IN KSDEVICE_HEADER | Header, |
IN PUNICODE_STRING | CreateItem | ||
) |
KSDDKAPI NTSTATUS NTAPI KsFreeObjectCreateItemsByContext | ( | IN KSDEVICE_HEADER | Header, |
IN PVOID | Context | ||
) |
Definition at line 720 of file api.c.
Referenced by Dispatch_fnClose(), DispatchCreateSysAudioPin(), IKsAllocator_fnClose(), IKsFilter_DispatchClose(), KopDispatchClose(), KopDispatchCreate(), KsAllocateObjectHeader(), KsCreateDefaultAllocatorEx(), and KspCreatePin().
Definition at line 1862 of file api.c.
Definition at line 1882 of file api.c.
Referenced by KsPinGetNextSiblingPin().
NTSTATUS NTAPI KsMergeAutomationTables | ( | OUT PKSAUTOMATION_TABLE * | AutomationTableAB, |
IN PKSAUTOMATION_TABLE AutomationTableA | OPTIONAL, | ||
IN PKSAUTOMATION_TABLE AutomationTableB | OPTIONAL, | ||
IN KSOBJECT_BAG Bag | OPTIONAL | ||
) |
Definition at line 2303 of file api.c.
Referenced by BdaCreateFilterFactoryEx(), BdaCreatePin(), IKsFilter_CopyFilterDescriptor(), and KspCreatePin().
NTSTATUS KspAddCreateItemToList | ( | OUT PLIST_ENTRY | ListHead, |
IN ULONG | ItemsCount, | ||
IN PKSOBJECT_CREATE_ITEM | ItemsList | ||
) |
Definition at line 458 of file api.c.
Referenced by KsAllocateDeviceHeader(), and KsAllocateObjectHeader().
NTSTATUS KspAddObjectCreateItemToList | ( | PLIST_ENTRY | ListHead, |
IN PDRIVER_DISPATCH | Create, | ||
IN PVOID | Context, | ||
IN PWCHAR | ObjectClass, | ||
IN PSECURITY_DESCRIPTOR | SecurityDescriptor | ||
) |
Definition at line 748 of file api.c.
Referenced by KsAddObjectCreateItemToDeviceHeader(), and KsAddObjectCreateItemToObjectHeader().
VOID KspAddPropertyItem | ( | OUT PKSPROPERTY_SET | OutPropertySet, |
IN PKSPROPERTY_ITEM | PropertyItem, | ||
IN ULONG | PropertyItemSize | ||
) |
Definition at line 2093 of file api.c.
Referenced by KspMergePropertySet().
NTSTATUS KspCopyEventSets | ( | OUT PKSAUTOMATION_TABLE | Table, |
IN PKSAUTOMATION_TABLE AutomationTableA | OPTIONAL, | ||
IN PKSAUTOMATION_TABLE AutomationTableB | OPTIONAL | ||
) |
Definition at line 2244 of file api.c.
Referenced by KsMergeAutomationTables().
NTSTATUS KspCopyMethodSets | ( | OUT PKSAUTOMATION_TABLE | Table, |
IN PKSAUTOMATION_TABLE AutomationTableA | OPTIONAL, | ||
IN PKSAUTOMATION_TABLE AutomationTableB | OPTIONAL | ||
) |
Definition at line 2039 of file api.c.
Referenced by KsMergeAutomationTables().
NTSTATUS KspCopyPropertySets | ( | OUT PKSAUTOMATION_TABLE | Table, |
IN PKSAUTOMATION_TABLE AutomationTableA | OPTIONAL, | ||
IN PKSAUTOMATION_TABLE AutomationTableB | OPTIONAL, | ||
IN KSOBJECT_BAG Bag | OPTIONAL | ||
) |
Definition at line 2177 of file api.c.
Referenced by KsMergeAutomationTables().
ULONG KspCountEventSets | ( | IN PKSAUTOMATION_TABLE AutomationTableA | OPTIONAL, |
IN PKSAUTOMATION_TABLE AutomationTableB | OPTIONAL | ||
) |
Definition at line 1946 of file api.c.
Referenced by KsMergeAutomationTables().
ULONG KspCountMethodSets | ( | IN PKSAUTOMATION_TABLE AutomationTableA | OPTIONAL, |
IN PKSAUTOMATION_TABLE AutomationTableB | OPTIONAL | ||
) |
Definition at line 1897 of file api.c.
Referenced by KsMergeAutomationTables().
ULONG KspCountPropertySets | ( | IN PKSAUTOMATION_TABLE AutomationTableA | OPTIONAL, |
IN PKSAUTOMATION_TABLE AutomationTableB | OPTIONAL | ||
) |
Definition at line 1995 of file api.c.
Referenced by KsMergeAutomationTables().
NTSTATUS KspDeviceSetGetBusData | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN ULONG | DataType, | ||
IN PVOID | Buffer, | ||
IN ULONG | Offset, | ||
IN ULONG | Length, | ||
IN BOOL | bGet | ||
) |
Definition at line 1743 of file api.c.
Referenced by KsDeviceGetBusData(), and KsDeviceSetBusData().
VOID KspFreeCreateItems | ( | PLIST_ENTRY | ListHead | ) |
Definition at line 489 of file api.c.
Referenced by KsAllocateDeviceHeader(), KsFreeDeviceHeader(), and KsFreeObjectHeader().
NTSTATUS KspMergePropertySet | ( | OUT PKSAUTOMATION_TABLE | Table, |
OUT PKSPROPERTY_SET | OutPropertySet, | ||
IN PKSPROPERTY_SET | PropertySetA, | ||
IN PKSPROPERTY_SET | PropertySetB, | ||
IN KSOBJECT_BAG Bag | OPTIONAL | ||
) |
Definition at line 2120 of file api.c.
Referenced by KspCopyPropertySets().
NTSTATUS KspObjectFreeCreateItems | ( | IN KSDEVICE_HEADER | Header, |
IN PKSOBJECT_CREATE_ITEM | CreateItem | ||
) |
Definition at line 973 of file api.c.
Referenced by KsFreeObjectCreateItem(), and KsFreeObjectCreateItemsByContext().
NTSTATUS NTAPI KspSetGetBusDataCompletion | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN PIRP | Irp, | ||
IN PVOID | Context | ||
) |
Definition at line 1729 of file api.c.
Referenced by KspDeviceSetGetBusData().
NTSTATUS NTAPI KspSynchronousIoControlDeviceCompletion | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN PIRP | Irp, | ||
IN PVOID | Context | ||
) |
Definition at line 1080 of file api.c.
Referenced by KsSynchronousIoControlDevice().
KSDDKAPI PDEVICE_OBJECT NTAPI KsQueryDevicePnpObject | ( | IN KSDEVICE_HEADER | Header | ) |
KSDDKAPI ACCESS_MASK NTAPI KsQueryObjectAccessMask | ( | IN KSOBJECT_HEADER | Header | ) |
KSDDKAPI PKSOBJECT_CREATE_ITEM NTAPI KsQueryObjectCreateItem | ( | IN KSOBJECT_HEADER | Header | ) |
KSDDKAPI VOID NTAPI KsRecalculateStackDepth | ( | IN KSDEVICE_HEADER | Header, |
IN BOOLEAN | ReuseStackLocation | ||
) |
KSDDKAPI PUNKNOWN NTAPI KsRegisterAggregatedClientUnknown | ( | IN PVOID | Object, |
IN PUNKNOWN | ClientUnknown | ||
) |
Definition at line 2514 of file api.c.
NTSTATUS NTAPI KsRegisterFilterWithNoKSPins | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN const GUID * | InterfaceClassGUID, | ||
IN ULONG | PinCount, | ||
IN BOOL * | PinDirection, | ||
IN KSPIN_MEDIUM * | MediumList, | ||
IN GUID *CategoryList | OPTIONAL | ||
) |
Definition at line 2545 of file api.c.
Definition at line 1604 of file api.c.
Referenced by IKsPin_DispatchCreateClock().
Definition at line 1644 of file api.c.
KSDDKAPI VOID NTAPI KsReleaseDeviceSecurityLock | ( | IN KSDEVICE_HEADER | DevHeader | ) |
Definition at line 93 of file api.c.
Referenced by KsSetPowerDispatch(), and KsSetTargetDeviceObject().
KSDDKAPI VOID NTAPI KsSetDevicePnpAndBaseObject | ( | IN KSDEVICE_HEADER | Header, |
IN PDEVICE_OBJECT | PnpDeviceObject, | ||
IN PDEVICE_OBJECT | BaseDevice | ||
) |
Definition at line 257 of file api.c.
Referenced by KMix_AddDevice(), KopAddDevice(), KsInitializeDevice(), SysAudio_AddDevice(), and WdmaudAddDevice().
KSDDKAPI VOID NTAPI KsSetPowerDispatch | ( | IN KSOBJECT_HEADER | Header, |
IN PFNKSCONTEXT_DISPATCH PowerDispatch | OPTIONAL, | ||
IN PVOID PowerContext | OPTIONAL | ||
) |
Definition at line 401 of file api.c.
KSDDKAPI VOID NTAPI KsSetTargetDeviceObject | ( | IN KSOBJECT_HEADER | Header, |
IN PDEVICE_OBJECT TargetDevice | OPTIONAL | ||
) |
Definition at line 336 of file api.c.
KSDDKAPI VOID NTAPI KsSetTargetState | ( | IN KSOBJECT_HEADER | Header, |
IN KSTARGET_STATE | TargetState | ||
) |
KSDDKAPI NTSTATUS NTAPI KsSynchronousIoControlDevice | ( | IN PFILE_OBJECT | FileObject, |
IN KPROCESSOR_MODE | RequestorMode, | ||
IN ULONG | IoControl, | ||
IN PVOID | InBuffer, | ||
IN ULONG | InSize, | ||
OUT PVOID | OutBuffer, | ||
IN ULONG | OutSize, | ||
OUT PULONG | BytesReturned | ||
) |
Definition at line 1099 of file api.c.
Referenced by AudioPositionPropertyHandler(), ComputeCompatibleFormat(), Control(), CreatePinCallback(), GetPinInstanceCount(), GetSysAudioDeviceCount(), GetSysAudioDevicePnpName(), HandleSysAudioFilterPinProperties(), IKsControl_fnKsEvent(), IKsControl_fnKsMethod(), IKsControl_fnKsProperty(), IKsPin_PinMasterClock(), IKsReferenceClock_fnGetResolution(), IKsReferenceClock_fnGetState(), Pin_fnDeviceIoControl(), SetMixerInputOutputFormat(), SysAudioHandleProperty(), WdmAudControlDeviceState(), WdmAudFrameSize(), and WdmAudResetStream().
KSDDKAPI VOID NTAPI KsTerminateDevice | ( | IN PDEVICE_OBJECT | DeviceObject | ) |
Definition at line 1663 of file api.c.
KSDDKAPI NTSTATUS NTAPI KsUnserializeObjectPropertiesFromRegistry | ( | IN PFILE_OBJECT | FileObject, |
IN HANDLE ParentKey | OPTIONAL, | ||
IN PUNICODE_STRING RegistryPath | OPTIONAL | ||
) |
const GUID GUID_NULL = {0x00000000L, 0x0000, 0x0000, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}} |
Definition at line 14 of file api.c.
Referenced by KsCacheMedium().
|
static |
Definition at line 1343 of file api.c.
Referenced by KopDispatchCreate().
const GUID KSMEDIUMSETID_Standard = {0x4747B320L, 0x62CE, 0x11CF, {0xA5, 0xD6, 0x28, 0xDB, 0x04, 0xC1, 0x00, 0x00}} |
Definition at line 15 of file api.c.
Referenced by KsCacheMedium().