ReactOS 0.4.15-dev-6712-g46b4b55
|
#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 18 of file pool.cpp.
PDEVICE_OBJECT GetDeviceObject | ( | IPortWaveCyclic * | iface | ) |
Definition at line 40 of file port_wavecyclic.cpp.
PDEVICE_OBJECT GetDeviceObjectFromPortWavePci | ( | IPortWavePci * | iface | ) |
Definition at line 43 of file port_wavepci.cpp.
PDEVICE_OBJECT GetDeviceObjectFromPortWaveRT | ( | IPortWaveRT * | iface | ) |
Definition at line 41 of file port_wavert.cpp.
PDEVICE_OBJECT GetDeviceObjectFromWaveCyclic | ( | IPortWavePci * | iface | ) |
VOID GetDMusMiniport | ( | IN IPortDMus * | iface, |
IN PMINIPORTDMUS * | Miniport, | ||
IN PMINIPORTMIDI * | MidiMiniport | ||
) |
Definition at line 41 of file port_dmus.cpp.
PMINIPORTTOPOLOGY GetTopologyMiniport | ( | PPORTTOPOLOGY | Port | ) |
Definition at line 40 of file port_topology.cpp.
PMINIPORTWAVECYCLIC GetWaveCyclicMiniport | ( | IN IPortWaveCyclic * | iface | ) |
Definition at line 39 of file port_wavecyclic.cpp.
PMINIPORTWAVEPCI GetWavePciMiniport | ( | PPORTWAVEPCI | Port | ) |
Definition at line 44 of file port_wavepci.cpp.
PMINIPORTWAVERT GetWaveRTMiniport | ( | IN IPortWaveRT * | iface | ) |
Definition at line 40 of file port_wavert.cpp.
Definition at line 40 of file undoc.cpp.
NTSTATUS NTAPI NewDispatchObject | ( | IN PIRP | Irp, |
IN IIrpTarget * | Target, | ||
IN ULONG | ObjectCreateItemCount, | ||
IN PKSOBJECT_CREATE_ITEM | ObjectCreateItem | ||
) |
Definition at line 242 of file dispatcher.cpp.
Referenced by PcCreateItemDispatch(), and PcCreatePinDispatch().
Definition at line 125 of file drm_port.cpp.
Referenced by CPortDMus::QueryInterface(), CPortTopology::QueryInterface(), CPortWaveCyclic::QueryInterface(), CPortWavePci::QueryInterface(), and CPortWaveRT::QueryInterface().
Definition at line 869 of file irpstream.cpp.
NTSTATUS NTAPI NewIUnregisterPhysicalConnection | ( | OUT PUNREGISTERPHYSICALCONNECTION * | OutConnection | ) |
Definition at line 128 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 122 of file unregister.cpp.
Referenced by CPortDMus::QueryInterface(), CPortTopology::QueryInterface(), CPortWaveCyclic::QueryInterface(), CPortWavePci::QueryInterface(), and CPortWaveRT::QueryInterface().
Definition at line 1225 of file miniport_dmus.cpp.
Referenced by PcNewMiniport().
NTSTATUS NewPortClsVersion | ( | OUT PPORTCLSVERSION * | OutVersion | ) |
Definition at line 71 of file version.cpp.
Referenced by CPortDMus::QueryInterface(), CPortTopology::QueryInterface(), CPortWaveCyclic::QueryInterface(), CPortWavePci::QueryInterface(), and CPortWaveRT::QueryInterface().
Definition at line 491 of file port_dmus.cpp.
Referenced by PcNewPort().
NTSTATUS NewPortFilterDMus | ( | OUT PPORTFILTERDMUS * | OutFilter | ) |
Definition at line 326 of file filter_dmus.cpp.
Definition at line 260 of file filter_topology.cpp.
Definition at line 337 of file filter_wavecyclic.cpp.
Definition at line 318 of file filter_wavepci.cpp.
Definition at line 302 of file filter_wavert.cpp.
NTSTATUS NewPortPinDMus | ( | OUT PPORTPINDMUS * | OutPin | ) |
Definition at line 616 of file pin_dmus.cpp.
Definition at line 1401 of file pin_wavecyclic.cpp.
Definition at line 984 of file pin_wavepci.cpp.
Definition at line 676 of file pin_wavert.cpp.
Definition at line 576 of file port_topology.cpp.
Referenced by PcNewPort().
Definition at line 556 of file port_wavecyclic.cpp.
Referenced by PcNewPort().
Definition at line 517 of file port_wavepci.cpp.
Referenced by PcNewPort().
Definition at line 464 of file port_wavert.cpp.
Referenced by PcNewPort().
NTSTATUS NewPortWaveRTStream | ( | PPORTWAVERTSTREAM * | OutStream | ) |
Definition at line 162 of file port_wavertstream.cpp.
Definition at line 19 of file miniport.cpp.
Definition at line 500 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 730 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 213 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 244 of file api.cpp.
Definition at line 67 of file undoc.cpp.
Definition at line 54 of file undoc.cpp.
NTSTATUS NTAPI PcHandlePropertyWithTable | ( | IN PIRP | Irp, |
IN ULONG | PropertySetCount, | ||
IN PKSPROPERTY_SET | PropertySet, | ||
IN PSUBDEVICE_DESCRIPTOR | Descriptor | ||
) |
Definition at line 81 of file undoc.cpp.
Referenced by CPortPinWavePci::HandleKsProperty().
Definition at line 49 of file api.cpp.
Referenced by PcAddAdapterDevice().
NTSTATUS NTAPI PcValidateConnectRequest | ( | IN PIRP | Irp, |
IN KSPIN_FACTORY * | Descriptor, | ||
OUT PKSPIN_CONNECT * | Connect | ||
) |
Definition at line 998 of file undoc.cpp.
Definition at line 218 of file propertyhandler.cpp.
Definition at line 29 of file irp.cpp.
Referenced by PcDispatchIrp().
Definition at line 41 of file irp.cpp.
Referenced by PcDispatchIrp().
Definition at line 209 of file irp.cpp.
Referenced by PcDispatchIrp().
Definition at line 374 of file irp.cpp.
Referenced by PcDispatchIrp().
Definition at line 317 of file propertyhandler.cpp.