ReactOS 0.4.15-dev-7677-g8209aa5
CPortFilterWavePci Class Reference
Inheritance diagram for CPortFilterWavePci:
Collaboration diagram for CPortFilterWavePci:

Public Member Functions

STDMETHODIMP QueryInterface (REFIID InterfaceId, PVOID *Interface)
 
 CPortFilterWavePci (IUnknown *OuterUnknown)
 
virtual ~CPortFilterWavePci ()
 
- Public Member Functions inherited from CUnknownImpl< IPortFilterWavePci >
 STDMETHODIMP_ (ULONG) AddRef()
 
 STDMETHODIMP_ (ULONG) Release()
 

Public Attributes

 IMP_IPortFilterPci
 

Protected Attributes

IPortWavePci * m_Port
 
IPortPinWavePci ** m_Pins
 
SUBDEVICE_DESCRIPTORm_Descriptor
 

Additional Inherited Members

- Protected Member Functions inherited from CUnknownImpl< IPortFilterWavePci >
 CUnknownImpl ()
 
virtual ~CUnknownImpl ()
 

Detailed Description

Definition at line 14 of file filter_wavepci.cpp.

Constructor & Destructor Documentation

◆ CPortFilterWavePci()

CPortFilterWavePci::CPortFilterWavePci ( IUnknown OuterUnknown)
inline

Definition at line 20 of file filter_wavepci.cpp.

20{}

◆ ~CPortFilterWavePci()

virtual CPortFilterWavePci::~CPortFilterWavePci ( )
inlinevirtual

Definition at line 21 of file filter_wavepci.cpp.

21{}

Member Function Documentation

◆ QueryInterface()

NTSTATUS NTAPI CPortFilterWavePci::QueryInterface ( REFIID  InterfaceId,
PVOID Interface 
)

Definition at line 31 of file filter_wavepci.cpp.

35{
36
37 if (IsEqualGUIDAligned(refiid, IID_IIrpTarget) ||
39 {
40 *Output = PVOID(PUNKNOWN(this));
41 PUNKNOWN(*Output)->AddRef();
42 return STATUS_SUCCESS;
43 }
44 else if (IsEqualGUIDAligned(refiid, IID_IPort))
45 {
47 PUNKNOWN(*Output)->AddRef();
48 return STATUS_SUCCESS;
49 }
50
52}
const GUID IID_IUnknown
IPortWavePci * m_Port
IUnknown * PUNKNOWN
Definition: com_apitest.h:45
ULONG AddRef()
@ Output
Definition: arc.h:85
#define STATUS_SUCCESS
Definition: shellext.h:65
void * PVOID
Definition: typedefs.h:50
#define STATUS_UNSUCCESSFUL
Definition: udferr_usr.h:132
#define IsEqualGUIDAligned(guid1, guid2)
Definition: wdm.template.h:235

Member Data Documentation

◆ IMP_IPortFilterPci

CPortFilterWavePci::IMP_IPortFilterPci

Definition at line 19 of file filter_wavepci.cpp.

◆ m_Descriptor

SUBDEVICE_DESCRIPTOR* CPortFilterWavePci::m_Descriptor
protected

Definition at line 26 of file filter_wavepci.cpp.

◆ m_Pins

IPortPinWavePci** CPortFilterWavePci::m_Pins
protected

Definition at line 25 of file filter_wavepci.cpp.

◆ m_Port

IPortWavePci* CPortFilterWavePci::m_Port
protected

Definition at line 24 of file filter_wavepci.cpp.

Referenced by QueryInterface().


The documentation for this class was generated from the following file: