ReactOS 0.4.16-dev-297-gc569aee
port_wavert.cpp File Reference
#include "private.hpp"
#include <debug.h>
Include dependency graph for port_wavert.cpp:

Go to the source code of this file.

Classes

class  CPortWaveRT
 

Macros

#define NDEBUG
 

Functions

 DEFINE_KSPROPERTY_TOPOLOGYSET (PortFilterWaveRTTopologySet, TopologyPropertyHandler)
 
 DEFINE_KSPROPERTY_PINPROPOSEDATAFORMAT (PortFilterWaveRTPinSet, PinPropertyHandler, PinPropertyHandler, PinPropertyHandler)
 
PMINIPORTWAVERT GetWaveRTMiniport (IN IPortWaveRT *iface)
 
PDEVICE_OBJECT GetDeviceObjectFromPortWaveRT (PPORTWAVERT iface)
 
NTSTATUS NewPortWaveRT (OUT PPORT *OutPort)
 

Variables

static GUID InterfaceGuids [3]
 
KSPROPERTY_SET WaveRTPropertySet []
 

Macro Definition Documentation

◆ NDEBUG

#define NDEBUG

Definition at line 11 of file port_wavert.cpp.

Function Documentation

◆ DEFINE_KSPROPERTY_PINPROPOSEDATAFORMAT()

DEFINE_KSPROPERTY_PINPROPOSEDATAFORMAT ( PortFilterWaveRTPinSet  ,
PinPropertyHandler  ,
PinPropertyHandler  ,
PinPropertyHandler   
)

◆ DEFINE_KSPROPERTY_TOPOLOGYSET()

DEFINE_KSPROPERTY_TOPOLOGYSET ( PortFilterWaveRTTopologySet  ,
TopologyPropertyHandler   
)

◆ GetDeviceObjectFromPortWaveRT()

PDEVICE_OBJECT GetDeviceObjectFromPortWaveRT ( PPORTWAVERT  iface)

Definition at line 441 of file port_wavert.cpp.

443{
444 CPortWaveRT * This = (CPortWaveRT *)iface;
445 return This->m_pDeviceObject;
446}

◆ GetWaveRTMiniport()

PMINIPORTWAVERT GetWaveRTMiniport ( IN IPortWaveRT *  iface)

Definition at line 433 of file port_wavert.cpp.

435{
436 CPortWaveRT * This = (CPortWaveRT *)iface;
437 return This->m_pMiniport;
438}

◆ NewPortWaveRT()

NTSTATUS NewPortWaveRT ( OUT PPORT OutPort)

Definition at line 453 of file port_wavert.cpp.

455{
458
460 if (!Port)
462
463 Status = Port->QueryInterface(IID_IPort, (PVOID*)OutPort);
464
465 if (!NT_SUCCESS(Status))
466 {
467 delete Port;
468 }
469
470 DPRINT("NewPortWaveRT %p Status %u\n", Port, Status);
471 return Status;
472}
LONG NTSTATUS
Definition: precomp.h:26
#define NULL
Definition: types.h:112
#define NT_SUCCESS(StatCode)
Definition: apphelp.c:33
#define NonPagedPool
Definition: env_spec_w32.h:307
Status
Definition: gdiplustypes.h:25
CPPORT Port[4]
Definition: headless.c:35
#define TAG_PORTCLASS
Definition: private.hpp:24
#define DPRINT
Definition: sndvol32.h:73
#define STATUS_INSUFFICIENT_RESOURCES
Definition: udferr_usr.h:158

Referenced by PcNewPort().

Variable Documentation

◆ InterfaceGuids

GUID InterfaceGuids[3]
static
Initial value:
=
{
{
0x6994AD04, 0x93EF, 0x11D0, {0xA3, 0xCC, 0x00, 0xA0, 0xC9, 0x22, 0x31, 0x96}
},
{
0x65E8773EL, 0x8F56, 0x11D0, {0xA3, 0xB9, 0x00, 0xA0, 0xC9, 0x22, 0x31, 0x96}
},
{
0x65E8773DL, 0x8F56, 0x11D0, {0xA3, 0xB9, 0x00, 0xA0, 0xC9, 0x22, 0x31, 0x96}
}
}

Definition at line 41 of file port_wavert.cpp.

◆ WaveRTPropertySet

KSPROPERTY_SET WaveRTPropertySet[]
Initial value:
=
{
{
sizeof(PortFilterWaveRTTopologySet) / sizeof(KSPROPERTY_ITEM),
(const KSPROPERTY_ITEM*)&PortFilterWaveRTTopologySet,
0,
},
{
sizeof(PortFilterWaveRTPinSet) / sizeof(KSPROPERTY_ITEM),
(const KSPROPERTY_ITEM*)&PortFilterWaveRTPinSet,
0,
}
}
#define KSPROPSETID_Pin
Definition: ks.h:617
#define KSPROPSETID_Topology
Definition: ks.h:842

Definition at line 60 of file port_wavert.cpp.