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

534{
535 CPortWavePci * This = (CPortWavePci*)iface;
536 return This->m_pDeviceObject;
537}

◆ GetWavePciMiniport()

PMINIPORTWAVEPCI GetWavePciMiniport ( PPORTWAVEPCI  iface)

Definition at line 540 of file port_wavepci.cpp.

542{
543 CPortWavePci * This = (CPortWavePci*)iface;
544 return This->m_Miniport;
545}

◆ NewPortWavePci()

NTSTATUS NewPortWavePci ( OUT PPORT OutPort)

Definition at line 509 of file port_wavepci.cpp.

511{
514
516 if (!Port)
518
519 Status = Port->QueryInterface(IID_IPort, (PVOID*)OutPort);
520
521 if (!NT_SUCCESS(Status))
522 {
523 delete Port;
524 }
525
526 DPRINT("NewPortWavePci %p Status %u\n", Port, Status);
527 return Status;
528
529}
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

◆ 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 45 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,
}
}
#define KSPROPSETID_Pin
Definition: ks.h:617
#define KSPROPSETID_Topology
Definition: ks.h:842

Definition at line 64 of file port_wavepci.cpp.