ReactOS  0.4.14-dev-49-gfb4591c
port_wavepci.cpp File Reference
#include "private.hpp"
#include <debug.h>
Include dependency graph for port_wavepci.cpp:

Go to the source code of this file.

Classes

class  CPortWavePci
 

Macros

#define NDEBUG
 

Functions

 DEFINE_KSPROPERTY_TOPOLOGYSET (PortFilterWavePciTopologySet, TopologyPropertyHandler)
 
 DEFINE_KSPROPERTY_PINPROPOSEDATAFORMAT (PortFilterWavePciPinSet, PinPropertyHandler, PinPropertyHandler, PinPropertyHandler)
 
NTSTATUS NewPortWavePci (OUT PPORT *OutPort)
 
PDEVICE_OBJECT GetDeviceObjectFromPortWavePci (IPortWavePci *iface)
 
PMINIPORTWAVEPCI GetWavePciMiniport (PPORTWAVEPCI iface)
 

Variables

static GUID InterfaceGuids [3]
 
KSPROPERTY_SET WavePciPropertySet []
 

Macro Definition Documentation

◆ NDEBUG

#define NDEBUG

Definition at line 12 of file port_wavepci.cpp.

Function Documentation

◆ DEFINE_KSPROPERTY_PINPROPOSEDATAFORMAT()

DEFINE_KSPROPERTY_PINPROPOSEDATAFORMAT ( PortFilterWavePciPinSet  ,
PinPropertyHandler  ,
PinPropertyHandler  ,
PinPropertyHandler   
)

◆ DEFINE_KSPROPERTY_TOPOLOGYSET()

DEFINE_KSPROPERTY_TOPOLOGYSET ( PortFilterWavePciTopologySet  ,
TopologyPropertyHandler   
)

◆ GetDeviceObjectFromPortWavePci()

PDEVICE_OBJECT GetDeviceObjectFromPortWavePci ( IPortWavePci *  iface)

Definition at line 562 of file port_wavepci.cpp.

564 {
565  CPortWavePci * This = (CPortWavePci*)iface;
566  return This->m_pDeviceObject;
567 }

◆ GetWavePciMiniport()

PMINIPORTWAVEPCI GetWavePciMiniport ( PPORTWAVEPCI  iface)

Definition at line 570 of file port_wavepci.cpp.

572 {
573  CPortWavePci * This = (CPortWavePci*)iface;
574  return This->m_Miniport;
575 }

◆ NewPortWavePci()

NTSTATUS NewPortWavePci ( OUT PPORT OutPort)

Definition at line 538 of file port_wavepci.cpp.

540 {
541  CPortWavePci * Port;
543 
545  if (!Port)
547 
548  Status = Port->QueryInterface(IID_IPort, (PVOID*)OutPort);
549 
550  if (!NT_SUCCESS(Status))
551  {
552  delete Port;
553  }
554 
555  DPRINT("NewPortWavePci %p Status %u\n", Port, Status);
556  return Status;
557 
558 }
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 69 of file port_wavepci.cpp.

◆ WavePciPropertySet

KSPROPERTY_SET WavePciPropertySet[]
Initial value:
=
{
{
sizeof(PortFilterWavePciTopologySet) / sizeof(KSPROPERTY_ITEM),
(const KSPROPERTY_ITEM*)&PortFilterWavePciTopologySet,
0,
},
{
sizeof(PortFilterWavePciPinSet) / sizeof(KSPROPERTY_ITEM),
(const KSPROPERTY_ITEM*)&PortFilterWavePciPinSet,
0,
}
}
smooth NULL
Definition: ftsmooth.c:416
#define KSPROPSETID_Topology
Definition: ks.h:842
#define KSPROPSETID_Pin
Definition: ks.h:617

Definition at line 88 of file port_wavepci.cpp.