ReactOS 0.4.16-dev-87-g3dfbe52
|
Go to the source code of this file.
Macros | |
#define | TAG_KSDEVICE 'DESK' |
#define | TAG_KSOBJECT_TAG 'HOSK' |
Definition at line 29 of file misc.c.
Referenced by _KsEdit(), Alloc(), AllocateInterfaceDescriptorsArray(), AllocEventData(), ComputeCompatibleFormat(), DispatchCreateSysAudio(), DispatchCreateSysAudioPin(), EventCallback(), FDO_CreateChildPdo(), FDO_DeviceRelations(), GetConnectRequest(), CPortPinWaveRT::HandleKsProperty(), HDA_FDOQueryBusRelations(), HDA_InitCodec(), HDA_PDOHandleQueryDeviceText(), HDA_PDOQueryBusInformation(), HDA_PDOQueryId(), IKsDevice_PnpStartDevice(), IKsFilter_CopyFilterDescriptor(), IKsFilter_CreateDescriptors(), IKsFilterFactory_fnInitialize(), InsertAudioDevice(), InstantiatePins(), KopAddDevice(), KopDispatchCreate(), KsAddItemToObjectBag(), KsAllocateDefaultClockEx(), KsAllocateDeviceHeader(), KsAllocateExtraData(), KsAllocateObjectBag(), KsAllocateObjectCreateItem(), KsAllocateObjectHeader(), KsCacheMedium(), KsCreateBusEnumObject(), KsCreateDefaultAllocatorEx(), KsCreateDefaultClock(), KsFilterFactoryUpdateCacheData(), KsGetBusEnumIdentifier(), KsGetImageNameAndResourceId(), KsInitializeDevice(), KsLoadResource(), KsMapModuleName(), KsMergeAutomationTables(), KspAddCreateItemToList(), KspBusQueryReferenceString(), KspCreateDeviceAssociation(), KspCreateDeviceReference(), KspCreateFilter(), KspCreateFilterFactory(), KspCreateObjectType(), KspCreatePDO(), KspCreatePin(), KspEnableEvent(), KspEnumerateBusRegistryKeys(), KspMergePropertySet(), KspPropertyHandler(), KspQueryBusInformation(), KspQueryBusRelations(), KspQueryId(), KspReadMediaCategory(), KspRegisterDeviceInterfaces(), KsProbeStreamIrp(), KspStartBusDevice(), KsRegisterWorker(), KsServiceBusEnumPnpRequest(), KsSetInformationFile(), KsStreamPointerClone(), NewDispatchObject(), PcAddAdapterDevice(), PcAddToPropertyTable(), PcCreateItemDispatch(), PcCreateSubdeviceDescriptor(), PcNewResourceList(), PcNewResourceSublist(), PcRegisterIoTimeout(), PcRegisterSubdevice(), PortClsPower(), PropertyItemDispatch(), QueryKeyValue(), RegisterConnection(), SysAudioAllocateDeviceHeader(), USBCCG_InitIdsWithInterfaceDescriptor(), USBCCGP_BuildConfigurationDescriptor(), USBCCGP_EnumWithAssociationDescriptor(), USBCCGP_EnumWithAudioLegacy(), USBCCGP_GetDescriptor(), USBCCGP_GetStringDescriptor(), USBCCGP_InitFunctionDescriptor(), USBCCGP_LegacyEnum(), USBCCGP_PdoAppendInterfaceNumber(), USBCCGP_PdoHandleDeviceRelations(), USBCCGP_PdoHandleQueryDeviceText(), USBCCGP_PdoHandleQueryId(), USBCCGP_PDOSelectConfiguration(), USBCCGP_ScanConfigurationDescriptor(), USBCCGP_SelectConfiguration(), USBCCGP_SelectInterface(), USBSTOR_AllocateIrpContext(), USBSTOR_FdoHandleDeviceRelations(), USBSTOR_GetDescriptor(), USBSTOR_GetEndpointStatus(), USBSTOR_PdoHandleDeviceRelations(), USBSTOR_PdoHandleQueryCompatibleId(), USBSTOR_PdoHandleQueryDeviceId(), USBSTOR_PdoHandleQueryDeviceText(), USBSTOR_PdoHandleQueryHardwareId(), USBSTOR_PdoHandleQueryInstanceId(), USBSTOR_ResetPipeWithHandle(), USBSTOR_SelectConfigurationAndInterface(), USBSTOR_SendCapacity(), USBSTOR_SendModeSense(), WdmAudControlOpenMixer(), WdmAudOpenSysaudio(), WdmAudOpenSysAudioDeviceInterfaces(), WdmAudOpenSysAudioDevices(), and WdmAudReadWrite().
NTSTATUS FindMatchingCreateItem | ( | PLIST_ENTRY | ListHead, |
PUNICODE_STRING | String, | ||
OUT PCREATE_ITEM_ENTRY * | OutCreateItem | ||
) |
Definition at line 1783 of file irp.c.
Referenced by IKsDevice_Create(), and KspCreate().
Definition at line 37 of file misc.c.
Referenced by _KsEdit(), AllocEventData(), ComputeCompatibleFormat(), Dispatch_fnClose(), DispatchCreateSysAudioPin(), Enum(), Free(), FreeEventData(), CPortPinWaveRT::HandleKsProperty(), HDA_FDORemoveDevice(), HDA_InitCodec(), IKsAllocator_fnRelease(), IKsDevice_PnpPostStart(), IKsDevice_PnpStartDevice(), IKsFilter_CopyFilterDescriptor(), IKsFilter_CreateDescriptors(), IKsFilter_fnRelease(), IKsFilterFactory_fnRelease(), IKsPin_fnRelease(), InsertAudioDevice(), InstantiatePins(), IoCompletion(), KopAddDevice(), KopDispatchClose(), KopDispatchCreate(), KsAllocateExtraData(), KsAllocateObjectCreateItem(), KsAllocateObjectHeader(), KsCacheMedium(), KsCreateBusEnumObject(), KsCreateDefaultAllocatorEx(), KsCreateDefaultClock(), KsDiscardEvent(), KsDispatchSetSecurity(), KsFilterFactoryUpdateCacheData(), KsFreeDefaultClock(), KsFreeDeviceHeader(), KsFreeObjectBag(), KsFreeObjectHeader(), KsGetImageNameAndResourceId(), KsLoadResource(), KsMapModuleName(), KsMergeAutomationTables(), KspCreateDeviceAssociation(), KspCreateDeviceReference(), KspCreateFilter(), KspCreateObjectType(), KspCreatePin(), KspEnumerateBusRegistryKeys(), KspFreeCreateItems(), KspFreeDeviceInterfaces(), KspMergePropertySet(), KspPinPropertyHandler(), KspReadMediaCategory(), KspRegisterDeviceAssociation(), KspRegisterDeviceInterfaces(), KspRemoveDeviceAssociations(), KspValidateConnectRequest(), KsRegisterFilterWithNoKSPins(), KsRemoveItemFromObjectBag(), KsServiceBusEnumPnpRequest(), KsSetInformationFile(), KsStreamPointerClone(), KsStreamPointerDelete(), KsTopologyPropertyHandler(), KsUnregisterWorker(), KsValidateAllocatorCreateRequest(), KsValidateClockCreateRequest(), KsValidateTopologyNodeCreateRequest(), NewDispatchObject(), PcAddAdapterDevice(), PcAddToPropertyTable(), PcCompletePendingPropertyRequest(), PcCreateItemDispatch(), PcCreatePinDispatch(), PcCreateSubdeviceDescriptor(), PcNewResourceList(), PcRegisterIoTimeout(), PcUnregisterIoTimeout(), PDO_HandleInternalDeviceControl(), Pin_fnClose(), PropertyItemDispatch(), PwrCompletionFunction(), QueryKeyValue(), RegisterConnection(), USBCCGP_BuildConfigurationDescriptor(), USBCCGP_GetDescriptor(), USBCCGP_GetDescriptors(), USBCCGP_GetStringDescriptor(), USBCCGP_PDOSelectConfiguration(), USBCCGP_SelectInterface(), USBSTOR_AllocateIrpContext(), USBSTOR_CSWCompletionRoutine(), USBSTOR_GetDescriptor(), USBSTOR_GetDescriptors(), USBSTOR_GetEndpointStatus(), USBSTOR_HandleTransferError(), USBSTOR_ResetPipeWithHandle(), USBSTOR_SelectConfigurationAndInterface(), USBSTOR_SendModeSense(), USBSTOR_SendRequest(), WdmAudCleanup(), WdmAudControlOpenMixer(), WdmAudGetDeviceInterface(), WdmAudGetMixerEvent(), WdmAudOpenSysAudioDevices(), WdmAudReadWrite(), and CResourceList::~CResourceList().
Definition at line 566 of file device.c.
Referenced by KsDispatchIrp(), and KsInitializeDriver().
Definition at line 409 of file device.c.
Referenced by KsDispatchIrp(), and KsInitializeDriver().
Definition at line 549 of file device.c.
Referenced by KsDispatchIrp(), and KsInitializeDriver().
VOID IKsFilter_AddPin | ( | PKSFILTER | Filter, |
PKSPIN | Pin | ||
) |
Definition at line 1337 of file filter.c.
Referenced by KspCreatePin().
VOID IKsFilter_RemovePin | ( | PKSFILTER | Filter, |
PKSPIN | Pin | ||
) |
Definition at line 1378 of file filter.c.
Referenced by IKsPin_Close(), and KspCreatePin().
Definition at line 42 of file filterfactory.c.
Referenced by IKsFilterFactory_fnInitialize(), KsFilterFactoryAddCreateItem(), and KspSetFilterFactoriesState().
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 KspCopyCreateRequest | ( | IN PIRP | Irp, |
IN LPWSTR | ObjectClass, | ||
IN OUT PULONG | Size, | ||
OUT PVOID * | Result | ||
) |
Definition at line 44 of file misc.c.
Referenced by KspValidateConnectRequest(), KsValidateAllocatorCreateRequest(), KsValidateClockCreateRequest(), and KsValidateTopologyNodeCreateRequest().
NTSTATUS NTAPI KspCreateFilter | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN PIRP | Irp, | ||
IN IKsFilterFactory * | iface | ||
) |
Definition at line 1636 of file filter.c.
Referenced by IKsFilterFactory_Create().
NTSTATUS NTAPI KspCreateFilterFactory | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN const KSFILTER_DESCRIPTOR * | Descriptor, | ||
IN PWSTR RefString | OPTIONAL, | ||
IN PSECURITY_DESCRIPTOR SecurityDescriptor | OPTIONAL, | ||
IN ULONG | CreateItemFlags, | ||
IN PFNKSFILTERFACTORYPOWER SleepCallback | OPTIONAL, | ||
IN PFNKSFILTERFACTORYPOWER WakeCallback | OPTIONAL, | ||
OUT PKSFILTERFACTORY *FilterFactory | OPTIONAL | ||
) |
Definition at line 359 of file filterfactory.c.
Referenced by KsCreateFilterFactory(), and KsInitializeDevice().
NTSTATUS NTAPI KspCreateObjectType | ( | IN HANDLE | ParentHandle, |
IN LPWSTR | ObjectType, | ||
PVOID | CreateParameters, | ||
UINT | CreateParametersSize, | ||
IN ACCESS_MASK | DesiredAccess, | ||
OUT PHANDLE | NodeHandle | ||
) |
Definition at line 16 of file topology.c.
Referenced by KsCreateAllocator(), KsCreateClock(), KsCreatePin(), and KsCreateTopologyNode().
NTSTATUS KspCreatePin | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN PIRP | Irp, | ||
IN PKSDEVICE | KsDevice, | ||
IN IKsFilterFactory * | FilterFactory, | ||
IN IKsFilter * | Filter, | ||
IN PKSPIN_CONNECT | Connect, | ||
IN KSPIN_DESCRIPTOR_EX * | Descriptor | ||
) |
Definition at line 2283 of file pin.c.
Referenced by IKsFilter_DispatchCreatePin().
NTSTATUS KspEnableEvent | ( | IN PIRP | Irp, |
IN ULONG | EventSetsCount, | ||
IN const KSEVENT_SET * | EventSet, | ||
IN OUT PLIST_ENTRY EventsList | OPTIONAL, | ||
IN KSEVENTS_LOCKTYPE EventsFlags | OPTIONAL, | ||
IN PVOID EventsLock | OPTIONAL, | ||
IN PFNKSALLOCATOR Allocator | OPTIONAL, | ||
IN ULONG EventItemSize | OPTIONAL | ||
) |
Definition at line 87 of file event.c.
Referenced by _IRQL_requires_max_(), IKsFilter_DispatchDeviceIoControl(), IKsPin_DispatchDeviceIoControl(), and KsEnableEvent().
VOID KspFreeCreateItems | ( | IN PLIST_ENTRY | ListHead | ) |
NTSTATUS KspFreeDeviceInterfaces | ( | IN PLIST_ENTRY | ListHead | ) |
Definition at line 37 of file deviceinterface.c.
Referenced by IKsFilterFactory_fnRelease().
NTSTATUS NTAPI KspMethodHandlerWithAllocator | ( | IN PIRP | Irp, |
IN ULONG | MethodSetsCount, | ||
IN const KSMETHOD_SET * | MethodSet, | ||
IN PFNKSALLOCATOR Allocator | OPTIONAL, | ||
IN ULONG MethodItemSize | OPTIONAL | ||
) |
Definition at line 99 of file methods.c.
Referenced by _IRQL_requires_max_(), IKsFilter_DispatchDeviceIoControl(), and IKsPin_DispatchDeviceIoControl().
KSDDKAPI NTSTATUS NTAPI KspPinPropertyHandler | ( | IN PIRP | Irp, |
IN PKSPROPERTY | Property, | ||
IN OUT PVOID | Data, | ||
IN ULONG | DescriptorsCount, | ||
IN const KSPIN_DESCRIPTOR * | Descriptors, | ||
IN ULONG | DescriptorSize | ||
) |
Definition at line 324 of file connectivity.c.
Referenced by FilterPinPropertyHandler(), and KsPinPropertyHandler().
NTSTATUS KspPropertyHandler | ( | IN PIRP | Irp, |
IN ULONG | PropertySetsCount, | ||
IN const KSPROPERTY_SET * | PropertySet, | ||
IN PFNKSALLOCATOR Allocator | OPTIONAL, | ||
IN ULONG PropertyItemSize | OPTIONAL | ||
) |
Definition at line 138 of file property.c.
Referenced by _IRQL_requires_max_(), IKsFilter_DispatchDeviceIoControl(), IKsPin_DispatchDeviceIoControl(), and KsPropertyHandler().
NTSTATUS KspReadMediaCategory | ( | IN LPGUID | Category, |
PKEY_VALUE_PARTIAL_INFORMATION * | OutInformation | ||
) |
Definition at line 232 of file connectivity.c.
Referenced by KspPinPropertyHandler(), and KsTopologyPropertyHandler().
NTSTATUS KspRegisterDeviceInterfaces | ( | IN PDEVICE_OBJECT | PhysicalDeviceObject, |
IN ULONG | CategoriesCount, | ||
IN GUID const * | Categories, | ||
IN PUNICODE_STRING | ReferenceString, | ||
OUT PLIST_ENTRY | SymbolicLinkList | ||
) |
Definition at line 61 of file deviceinterface.c.
Referenced by IKsFilterFactory_fnInitialize().
NTSTATUS KspSetDeviceInterfacesState | ( | IN PLIST_ENTRY | ListHead, |
IN BOOL | Enable | ||
) |
Definition at line 7 of file deviceinterface.c.
Referenced by IKsFilterFactory_fnRelease(), and IKsFilterFactory_fnSetDeviceClassesState().
NTSTATUS KspSetFilterFactoriesState | ( | IN PKSIDEVICE_HEADER | DeviceHeader, |
IN BOOLEAN | NewState | ||
) |
Definition at line 109 of file deviceinterface.c.
Referenced by IKsDevice_PnpPostStart(), and IKsDevice_PnpStartDevice().
NTSTATUS KspValidateConnectRequest | ( | IN PIRP | Irp, |
IN ULONG | DescriptorsCount, | ||
IN PVOID | Descriptors, | ||
IN ULONG | DescriptorSize, | ||
OUT PKSPIN_CONNECT * | Connect | ||
) |
FIXME implement format checking
Definition at line 60 of file connectivity.c.
Referenced by IKsFilter_DispatchCreatePin(), and KsValidateConnectRequest().