ReactOS 0.4.15-dev-6679-g945ee4b
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 541 of file port_wavepci.cpp.

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

◆ GetWavePciMiniport()

PMINIPORTWAVEPCI GetWavePciMiniport ( PPORTWAVEPCI  iface)

Definition at line 549 of file port_wavepci.cpp.

551{
552 CPortWavePci * This = (CPortWavePci*)iface;
553 return This->m_Miniport;
554}

◆ NewPortWavePci()

NTSTATUS NewPortWavePci ( OUT PPORT OutPort)

Definition at line 517 of file port_wavepci.cpp.

519{
522
524 if (!Port)
526
527 Status = Port->QueryInterface(IID_IPort, (PVOID*)OutPort);
528
529 if (!NT_SUCCESS(Status))
530 {
531 delete Port;
532 }
533
534 DPRINT("NewPortWavePci %p Status %u\n", Port, Status);
535 return Status;
536
537}
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 48 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 67 of file port_wavepci.cpp.