ReactOS 0.4.16-dev-297-gc569aee
|
#include <stdio.h>
#include <ntddk.h>
#include <portcls.h>
#include <dmusicks.h>
#include <kcom.h>
#include "interfaces.hpp"
Go to the source code of this file.
Classes | |
struct | PCLASS_DEVICE_EXTENSION |
struct | CLOSESTREAM_CONTEXT |
struct | TIMER_CONTEXT |
struct | DISPATCH_CONTEXT |
class | CUnknownImpl< Interfaces > |
Macros | |
#define | PC_IMPLEMENTATION |
#define | COM_STDMETHOD_CAN_THROW |
#define | PC_NO_IMPORTS |
#define | TAG_PORTCLASS 'SLCP' |
#define | PC_ASSERT(exp) |
#define | PC_ASSERT_IRQL(x) PC_ASSERT(KeGetCurrentIrql() <= (x)) |
#define | PC_ASSERT_IRQL_EQUAL(x) PC_ASSERT(KeGetCurrentIrql()==(x)) |
#define | DEFINE_KSPROPERTY_CONNECTIONSET(PinSet, PropStateHandler, PropDataFormatHandler, PropAllocatorFraming) |
#define | DEFINE_KSPROPERTY_ITEM_AUDIO_POSITION(GetHandler, SetHandler) |
#define | DEFINE_KSPROPERTY_AUDIOSET(PinSet, PropPositionHandler) |
#define | DEFINE_KSPROPERTY_ITEM_DRMAUDIOSTREAM_CONTENTID(SetHandler) |
#define | DEFINE_KSPROPERTY_DRMSET(PinSet, PropPositionHandler) |
#define | DEFINE_KSPROPERTY_PINPROPOSEDATAFORMAT(PinSet, PropGeneral, PropInstances, PropIntersection) |
Typedefs | |
typedef struct PCLASS_DEVICE_EXTENSION * | PPCLASS_DEVICE_EXTENSION |
typedef struct CLOSESTREAM_CONTEXT * | PCLOSESTREAM_CONTEXT |
typedef struct TIMER_CONTEXT * | PTIMER_CONTEXT |
typedef struct DISPATCH_CONTEXT * | PDISPATCH_CONTEXT |
#define COM_STDMETHOD_CAN_THROW |
Definition at line 14 of file private.hpp.
#define DEFINE_KSPROPERTY_AUDIOSET | ( | PinSet, | |
PropPositionHandler | |||
) |
Definition at line 357 of file private.hpp.
#define DEFINE_KSPROPERTY_CONNECTIONSET | ( | PinSet, | |
PropStateHandler, | |||
PropDataFormatHandler, | |||
PropAllocatorFraming | |||
) |
Definition at line 340 of file private.hpp.
#define DEFINE_KSPROPERTY_DRMSET | ( | PinSet, | |
PropPositionHandler | |||
) |
Definition at line 373 of file private.hpp.
#define DEFINE_KSPROPERTY_ITEM_AUDIO_POSITION | ( | GetHandler, | |
SetHandler | |||
) |
Definition at line 348 of file private.hpp.
#define DEFINE_KSPROPERTY_ITEM_DRMAUDIOSTREAM_CONTENTID | ( | SetHandler | ) |
Definition at line 364 of file private.hpp.
#define DEFINE_KSPROPERTY_PINPROPOSEDATAFORMAT | ( | PinSet, | |
PropGeneral, | |||
PropInstances, | |||
PropIntersection | |||
) |
Definition at line 379 of file private.hpp.
Definition at line 26 of file private.hpp.
#define PC_ASSERT_IRQL | ( | x | ) | PC_ASSERT(KeGetCurrentIrql() <= (x)) |
Definition at line 30 of file private.hpp.
#define PC_ASSERT_IRQL_EQUAL | ( | x | ) | PC_ASSERT(KeGetCurrentIrql()==(x)) |
Definition at line 31 of file private.hpp.
#define PC_IMPLEMENTATION |
Definition at line 13 of file private.hpp.
#define PC_NO_IMPORTS |
Definition at line 15 of file private.hpp.
#define TAG_PORTCLASS 'SLCP' |
Definition at line 24 of file private.hpp.
typedef struct CLOSESTREAM_CONTEXT * PCLOSESTREAM_CONTEXT |
typedef struct DISPATCH_CONTEXT * PDISPATCH_CONTEXT |
typedef struct TIMER_CONTEXT * PTIMER_CONTEXT |
Definition at line 12 of file pool.cpp.
PDEVICE_OBJECT GetDeviceObject | ( | IPortWaveCyclic * | iface | ) |
Definition at line 37 of file port_wavecyclic.cpp.
PDEVICE_OBJECT GetDeviceObjectFromPortWavePci | ( | IPortWavePci * | iface | ) |
Definition at line 40 of file port_wavepci.cpp.
PDEVICE_OBJECT GetDeviceObjectFromPortWaveRT | ( | IPortWaveRT * | iface | ) |
Definition at line 38 of file port_wavert.cpp.
PDEVICE_OBJECT GetDeviceObjectFromWaveCyclic | ( | IPortWavePci * | iface | ) |
VOID GetDMusMiniport | ( | IN IPortDMus * | iface, |
IN PMINIPORTDMUS * | Miniport, | ||
IN PMINIPORTMIDI * | MidiMiniport | ||
) |
Definition at line 38 of file port_dmus.cpp.
PMINIPORTTOPOLOGY GetTopologyMiniport | ( | PPORTTOPOLOGY | Port | ) |
Definition at line 37 of file port_topology.cpp.
PMINIPORTWAVECYCLIC GetWaveCyclicMiniport | ( | IN IPortWaveCyclic * | iface | ) |
Definition at line 36 of file port_wavecyclic.cpp.
PMINIPORTWAVEPCI GetWavePciMiniport | ( | PPORTWAVEPCI | Port | ) |
Definition at line 41 of file port_wavepci.cpp.
PMINIPORTWAVERT GetWaveRTMiniport | ( | IN IPortWaveRT * | iface | ) |
Definition at line 37 of file port_wavert.cpp.
Definition at line 37 of file undoc.cpp.
NTSTATUS NTAPI NewDispatchObject | ( | IN PIRP | Irp, |
IN IIrpTarget * | Target, | ||
IN ULONG | ObjectCreateItemCount, | ||
IN PKSOBJECT_CREATE_ITEM | ObjectCreateItem | ||
) |
Definition at line 234 of file dispatcher.cpp.
Referenced by PcCreateItemDispatch(), and PcCreatePinDispatch().
Definition at line 122 of file drm_port.cpp.
Referenced by CPortDMus::QueryInterface(), CPortTopology::QueryInterface(), CPortWaveCyclic::QueryInterface(), CPortWavePci::QueryInterface(), and CPortWaveRT::QueryInterface().
Definition at line 864 of file irpstream.cpp.
NTSTATUS NTAPI NewIUnregisterPhysicalConnection | ( | OUT PUNREGISTERPHYSICALCONNECTION * | OutConnection | ) |
Definition at line 124 of file connection.cpp.
Referenced by CPortDMus::QueryInterface(), CPortTopology::QueryInterface(), CPortWaveCyclic::QueryInterface(), CPortWavePci::QueryInterface(), and CPortWaveRT::QueryInterface().
NTSTATUS NTAPI NewIUnregisterSubdevice | ( | OUT PUNREGISTERSUBDEVICE * | OutDevice | ) |
Definition at line 119 of file unregister.cpp.
Referenced by CPortDMus::QueryInterface(), CPortTopology::QueryInterface(), CPortWaveCyclic::QueryInterface(), CPortWavePci::QueryInterface(), and CPortWaveRT::QueryInterface().
Definition at line 1222 of file miniport_dmus.cpp.
Referenced by PcNewMiniport().
NTSTATUS NewPortClsVersion | ( | OUT PPORTCLSVERSION * | OutVersion | ) |
Definition at line 66 of file version.cpp.
Referenced by CPortDMus::QueryInterface(), CPortTopology::QueryInterface(), CPortWaveCyclic::QueryInterface(), CPortWavePci::QueryInterface(), and CPortWaveRT::QueryInterface().
Definition at line 482 of file port_dmus.cpp.
Referenced by PcNewPort().
NTSTATUS NewPortFilterDMus | ( | OUT PPORTFILTERDMUS * | OutFilter | ) |
Definition at line 321 of file filter_dmus.cpp.
Definition at line 254 of file filter_topology.cpp.
Definition at line 332 of file filter_wavecyclic.cpp.
Definition at line 313 of file filter_wavepci.cpp.
Definition at line 299 of file filter_wavert.cpp.
NTSTATUS NewPortPinDMus | ( | OUT PPORTPINDMUS * | OutPin | ) |
Definition at line 606 of file pin_dmus.cpp.
Definition at line 1374 of file pin_wavecyclic.cpp.
Definition at line 968 of file pin_wavepci.cpp.
Definition at line 670 of file pin_wavert.cpp.
Definition at line 565 of file port_topology.cpp.
Referenced by PcNewPort().
Definition at line 544 of file port_wavecyclic.cpp.
Referenced by PcNewPort().
Definition at line 509 of file port_wavepci.cpp.
Referenced by PcNewPort().
Definition at line 453 of file port_wavert.cpp.
Referenced by PcNewPort().
NTSTATUS NewPortWaveRTStream | ( | PPORTWAVERTSTREAM * | OutStream | ) |
Definition at line 157 of file port_wavertstream.cpp.
Definition at line 16 of file miniport.cpp.
Definition at line 491 of file port_topology.cpp.
Referenced by PcRegisterSubdevice().
NTSTATUS NTAPI PcCreateSubdeviceDescriptor | ( | OUT SUBDEVICE_DESCRIPTOR ** | OutSubdeviceDescriptor, |
IN ULONG | InterfaceCount, | ||
IN GUID * | InterfaceGuids, | ||
IN ULONG | IdentifierCount, | ||
IN KSIDENTIFIER * | Identifier, | ||
IN ULONG | FilterPropertiesCount, | ||
IN KSPROPERTY_SET * | FilterProperties, | ||
IN ULONG | Unknown1, | ||
IN ULONG | Unknown2, | ||
IN ULONG | PinPropertiesCount, | ||
IN KSPROPERTY_SET * | PinProperties, | ||
IN ULONG | EventSetCount, | ||
IN KSEVENT_SET * | EventSet, | ||
IN PPCFILTER_DESCRIPTOR | FilterDescription | ||
) |
Definition at line 717 of file undoc.cpp.
NTSTATUS NTAPI PcDmaMasterDescription | ( | IN PRESOURCELIST ResourceList | OPTIONAL, |
IN BOOLEAN | ScatterGather, | ||
IN BOOLEAN | Dma32BitAddresses, | ||
IN BOOLEAN | IgnoreCount, | ||
IN BOOLEAN | Dma64BitAddresses, | ||
IN DMA_WIDTH | DmaWidth, | ||
IN DMA_SPEED | DmaSpeed, | ||
IN ULONG | MaximumLength, | ||
IN ULONG | DmaPort, | ||
OUT PDEVICE_DESCRIPTION | DeviceDescription | ||
) |
Definition at line 206 of file api.cpp.
NTSTATUS NTAPI PcDmaSlaveDescription | ( | IN PRESOURCELIST ResourceList | OPTIONAL, |
IN ULONG | DmaIndex, | ||
IN BOOLEAN | DemandMode, | ||
IN BOOLEAN | AutoInitialize, | ||
IN DMA_SPEED | DmaSpeed, | ||
IN ULONG | MaximumLength, | ||
IN ULONG | DmaPort, | ||
OUT PDEVICE_DESCRIPTION | DeviceDescription | ||
) |
Definition at line 237 of file api.cpp.
Definition at line 64 of file undoc.cpp.
Definition at line 51 of file undoc.cpp.
NTSTATUS NTAPI PcHandlePropertyWithTable | ( | IN PIRP | Irp, |
IN ULONG | PropertySetCount, | ||
IN PKSPROPERTY_SET | PropertySet, | ||
IN PSUBDEVICE_DESCRIPTOR | Descriptor | ||
) |
Definition at line 78 of file undoc.cpp.
Referenced by CPortPinWavePci::HandleKsProperty().
Definition at line 46 of file api.cpp.
Referenced by PcAddAdapterDevice().
NTSTATUS NTAPI PcValidateConnectRequest | ( | IN PIRP | Irp, |
IN KSPIN_FACTORY * | Descriptor, | ||
OUT PKSPIN_CONNECT * | Connect | ||
) |
Definition at line 985 of file undoc.cpp.
Definition at line 214 of file propertyhandler.cpp.
Definition at line 25 of file irp.cpp.
Referenced by PcDispatchIrp().
Definition at line 36 of file irp.cpp.
Referenced by PcDispatchIrp().
Definition at line 202 of file irp.cpp.
Referenced by PcDispatchIrp().
Definition at line 367 of file irp.cpp.
Referenced by PcDispatchIrp().
Definition at line 313 of file propertyhandler.cpp.