ReactOS 0.4.15-dev-7906-g1b85a5f
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 11 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 532 of file port_wavecyclic.cpp.

534{
536 return This->m_pDeviceObject;
537}

◆ GetWaveCyclicMiniport()

PMINIPORTWAVECYCLIC GetWaveCyclicMiniport ( IN IPortWaveCyclic *  iface)

Definition at line 524 of file port_wavecyclic.cpp.

526{
528 return This->m_pMiniport;
529}

◆ NewPortWaveCyclic()

NTSTATUS NewPortWaveCyclic ( OUT PPORT OutPort)

Definition at line 544 of file port_wavecyclic.cpp.

546{
549
551 if (!Port)
553
554 Status = Port->QueryInterface(IID_IPort, (PVOID*)OutPort);
555
556 if (!NT_SUCCESS(Status))
557 {
558 delete Port;
559 }
560
561 DPRINT("NewPortWaveCyclic %p Status %u\n", Port, Status);
562 return Status;
563}
LONG NTSTATUS
Definition: precomp.h:26
#define NULL
Definition: types.h:112
#define NT_SUCCESS(StatCode)
Definition: apphelp.c:32
#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:71
#define STATUS_INSUFFICIENT_RESOURCES
Definition: udferr_usr.h:158

Referenced by PcNewPort().

Variable Documentation

◆ IID_IDmaChannelSlave

GUID IID_IDmaChannelSlave

Definition at line 14 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}
}
}

Definition at line 42 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 40 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,
}
}
#define KSPROPSETID_Pin
Definition: ks.h:617
#define KSPROPSETID_Topology
Definition: ks.h:842

Definition at line 66 of file port_wavecyclic.cpp.