ReactOS  0.4.13-dev-563-g0561610
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 12 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 471 of file port_wavert.cpp.

473 {
474  CPortWaveRT * This = (CPortWaveRT *)iface;
475  return This->m_pDeviceObject;
476 }

◆ GetWaveRTMiniport()

PMINIPORTWAVERT GetWaveRTMiniport ( IN IPortWaveRT *  iface)

Definition at line 463 of file port_wavert.cpp.

465 {
466  CPortWaveRT * This = (CPortWaveRT *)iface;
467  return This->m_pMiniport;
468 }

◆ NewPortWaveRT()

NTSTATUS NewPortWaveRT ( OUT PPORT OutPort)

Definition at line 484 of file port_wavert.cpp.

486 {
487  CPortWaveRT * Port;
489 
491  if (!Port)
493 
494  Status = Port->QueryInterface(IID_IPort, (PVOID*)OutPort);
495 
496  if (!NT_SUCCESS(Status))
497  {
498  delete Port;
499  }
500 
501  DPRINT("NewPortWaveRT %p Status %u\n", Port, Status);
502  return Status;
503 }
CPPORT Port[4]
Definition: headless.c:34
#define STATUS_INSUFFICIENT_RESOURCES
Definition: udferr_usr.h:158
#define TAG_PORTCLASS
Definition: private.hpp:24
LONG NTSTATUS
Definition: precomp.h:26
smooth NULL
Definition: ftsmooth.c:416
void DPRINT(...)
Definition: polytest.cpp:61
#define NT_SUCCESS(StatCode)
Definition: apphelp.c:32
Status
Definition: gdiplustypes.h:24

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}
}
}
static const WCHAR L[]
Definition: oid.c:1250

Definition at line 64 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,
}
}
smooth NULL
Definition: ftsmooth.c:416
#define KSPROPSETID_Topology
Definition: ks.h:872
#define KSPROPSETID_Pin
Definition: ks.h:647

Definition at line 83 of file port_wavert.cpp.