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

Go to the source code of this file.

Classes

class  CPortWaveCyclic
 

Macros

#define NDEBUG
 

Functions

 DEFINE_KSPROPERTY_TOPOLOGYSET (PortFilterWaveCyclicTopologySet, TopologyPropertyHandler)
 
 DEFINE_KSPROPERTY_PINPROPOSEDATAFORMAT (PortFilterWaveCyclicPinSet, PinPropertyHandler, PinPropertyHandler, PinPropertyHandler)
 
PMINIPORTWAVECYCLIC GetWaveCyclicMiniport (IN IPortWaveCyclic *iface)
 
PDEVICE_OBJECT GetDeviceObject (PPORTWAVECYCLIC iface)
 
NTSTATUS NewPortWaveCyclic (OUT PPORT *OutPort)
 

Variables

GUID IID_IDmaChannelSlave
 
GUID KSPROPERTY_SETID_Topology = {0x720D4AC0L, 0x7533, 0x11D0, {0xA5, 0xD6, 0x28, 0xDB, 0x04, 0xC1, 0x00, 0x00}}
 
static GUID InterfaceGuids [4]
 
KSPROPERTY_SET WaveCyclicPropertySet []
 

Macro Definition Documentation

◆ NDEBUG

#define NDEBUG

Definition at line 12 of file port_wavecyclic.cpp.

Function Documentation

◆ DEFINE_KSPROPERTY_PINPROPOSEDATAFORMAT()

DEFINE_KSPROPERTY_PINPROPOSEDATAFORMAT ( PortFilterWaveCyclicPinSet  ,
PinPropertyHandler  ,
PinPropertyHandler  ,
PinPropertyHandler   
)

◆ DEFINE_KSPROPERTY_TOPOLOGYSET()

DEFINE_KSPROPERTY_TOPOLOGYSET ( PortFilterWaveCyclicTopologySet  ,
TopologyPropertyHandler   
)

◆ GetDeviceObject()

PDEVICE_OBJECT GetDeviceObject ( PPORTWAVECYCLIC  iface)

Definition at line 563 of file port_wavecyclic.cpp.

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

◆ GetWaveCyclicMiniport()

PMINIPORTWAVECYCLIC GetWaveCyclicMiniport ( IN IPortWaveCyclic *  iface)

Definition at line 555 of file port_wavecyclic.cpp.

557 {
558  CPortWaveCyclic * This = (CPortWaveCyclic *)iface;
559  return This->m_pMiniport;
560 }

◆ NewPortWaveCyclic()

NTSTATUS NewPortWaveCyclic ( OUT PPORT OutPort)

Definition at line 575 of file port_wavecyclic.cpp.

577 {
580 
582  if (!Port)
584 
585  Status = Port->QueryInterface(IID_IPort, (PVOID*)OutPort);
586 
587  if (!NT_SUCCESS(Status))
588  {
589  delete Port;
590  }
591 
592  DPRINT("NewPortWaveCyclic %p Status %u\n", Port, Status);
593  return Status;
594 }
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

◆ IID_IDmaChannelSlave

GUID IID_IDmaChannelSlave

Definition at line 17 of file port_wavecyclic.cpp.

◆ InterfaceGuids

GUID InterfaceGuids[4]
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}
},
{
0xFBF6F530L, 0x07B9, 0x11D2, {0xA7, 0x1E, 0x00, 0x00, 0xF8, 0x00, 0x47, 0x88}
}
}
static const WCHAR L[]
Definition: oid.c:1250

Definition at line 64 of file port_wavecyclic.cpp.

◆ KSPROPERTY_SETID_Topology

GUID KSPROPERTY_SETID_Topology = {0x720D4AC0L, 0x7533, 0x11D0, {0xA5, 0xD6, 0x28, 0xDB, 0x04, 0xC1, 0x00, 0x00}}

Definition at line 62 of file port_wavecyclic.cpp.

◆ WaveCyclicPropertySet

KSPROPERTY_SET WaveCyclicPropertySet[]
Initial value:
=
{
{
sizeof(PortFilterWaveCyclicTopologySet) / sizeof(KSPROPERTY_ITEM),
(const KSPROPERTY_ITEM*)&PortFilterWaveCyclicTopologySet,
0,
},
{
sizeof(PortFilterWaveCyclicPinSet) / sizeof(KSPROPERTY_ITEM),
(const KSPROPERTY_ITEM*)&PortFilterWaveCyclicPinSet,
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_wavecyclic.cpp.