ReactOS 0.4.15-dev-7906-g1b85a5f
CPortFilterTopology Class Reference
Inheritance diagram for CPortFilterTopology:
Collaboration diagram for CPortFilterTopology:

Public Member Functions

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

Public Attributes

 IMP_IPortFilterTopology
 

Protected Attributes

IPortTopology * m_Port
 
SUBDEVICE_DESCRIPTORm_Descriptor
 
ISubdevice * m_SubDevice
 

Additional Inherited Members

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

Detailed Description

Definition at line 14 of file filter_topology.cpp.

Constructor & Destructor Documentation

◆ CPortFilterTopology()

CPortFilterTopology::CPortFilterTopology ( IUnknown OuterUnknown)
inline

Definition at line 20 of file filter_topology.cpp.

20{}

◆ ~CPortFilterTopology()

virtual CPortFilterTopology::~CPortFilterTopology ( )
inlinevirtual

Definition at line 21 of file filter_topology.cpp.

21{}

Member Function Documentation

◆ QueryInterface()

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

Definition at line 31 of file filter_topology.cpp.

34{
35
36 if (IsEqualGUIDAligned(refiid, IID_IIrpTarget) ||
38 {
39 *Output = PVOID(PUNKNOWN(this));
40 PUNKNOWN(*Output)->AddRef();
41 return STATUS_SUCCESS;
42 }
43 else if (IsEqualGUIDAligned(refiid, IID_IPort))
44 {
46 PUNKNOWN(*Output)->AddRef();
47 return STATUS_SUCCESS;
48 }
49
51}
const GUID IID_IUnknown
IPortTopology * 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_IPortFilterTopology

CPortFilterTopology::IMP_IPortFilterTopology

Definition at line 19 of file filter_topology.cpp.

◆ m_Descriptor

SUBDEVICE_DESCRIPTOR* CPortFilterTopology::m_Descriptor
protected

Definition at line 25 of file filter_topology.cpp.

◆ m_Port

IPortTopology* CPortFilterTopology::m_Port
protected

Definition at line 24 of file filter_topology.cpp.

Referenced by QueryInterface().

◆ m_SubDevice

ISubdevice* CPortFilterTopology::m_SubDevice
protected

Definition at line 26 of file filter_topology.cpp.


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