ReactOS 0.4.15-dev-7712-gbbbcd8e
CKsQualityForwarder Class Reference
Inheritance diagram for CKsQualityForwarder:
Collaboration diagram for CKsQualityForwarder:

Public Member Functions

STDMETHODIMP QueryInterface (REFIID InterfaceId, PVOID *Interface)
 
 STDMETHODIMP_ (ULONG) AddRef()
 
 STDMETHODIMP_ (ULONG) Release()
 
HANDLE STDMETHODCALLTYPE KsGetObjectHandle ()
 
VOID STDMETHODCALLTYPE KsFlushClient (IN IKsPin *Pin)
 
 CKsQualityForwarder (HANDLE handle)
 
virtual ~CKsQualityForwarder ()
 

Protected Attributes

LONG m_Ref
 
HANDLE m_Handle
 

Detailed Description

Definition at line 13 of file qualityforward.cpp.

Constructor & Destructor Documentation

◆ CKsQualityForwarder()

CKsQualityForwarder::CKsQualityForwarder ( HANDLE  handle)
inline

Definition at line 41 of file qualityforward.cpp.

◆ ~CKsQualityForwarder()

virtual CKsQualityForwarder::~CKsQualityForwarder ( )
inlinevirtual

Definition at line 42 of file qualityforward.cpp.

#define CloseHandle
Definition: compat.h:739

Member Function Documentation

◆ KsFlushClient()

VOID STDMETHODCALLTYPE CKsQualityForwarder::KsFlushClient ( IN IKsPin *  Pin)

Definition at line 84 of file qualityforward.cpp.

86{
87#ifdef KSPROXY_TRACE
88 OutputDebugString("UNIMPLEMENTED\n");
89#endif
90}
#define OutputDebugString
Definition: winbase.h:3825

◆ KsGetObjectHandle()

HANDLE STDMETHODCALLTYPE CKsQualityForwarder::KsGetObjectHandle ( )

Definition at line 74 of file qualityforward.cpp.

75{
76 return m_Handle;
77}

◆ QueryInterface()

HRESULT STDMETHODCALLTYPE CKsQualityForwarder::QueryInterface ( REFIID  InterfaceId,
PVOID Interface 
)

Definition at line 53 of file qualityforward.cpp.

56{
57 if (IsEqualGUID(refiid, IID_IUnknown) ||
59 {
60 *Output = PVOID(this);
61 reinterpret_cast<IUnknown*>(*Output)->AddRef();
62 return NOERROR;
63 }
64
65 return E_NOINTERFACE;
66}
const GUID IID_IUnknown
ULONG AddRef()
#define IsEqualGUID(rguid1, rguid2)
Definition: guiddef.h:147
#define IID_IKsQualityForwarder
@ Output
Definition: arc.h:85
void * PVOID
Definition: typedefs.h:50
#define E_NOINTERFACE
Definition: winerror.h:2364
#define NOERROR
Definition: winerror.h:2354

◆ STDMETHODIMP_() [1/2]

CKsQualityForwarder::STDMETHODIMP_ ( ULONG  )
inline

Definition at line 18 of file qualityforward.cpp.

19 {
21 return m_Ref;
22 }
#define InterlockedIncrement
Definition: armddk.h:53

◆ STDMETHODIMP_() [2/2]

CKsQualityForwarder::STDMETHODIMP_ ( ULONG  )
inline

Definition at line 23 of file qualityforward.cpp.

24 {
26
27 if (!m_Ref)
28 {
29 delete this;
30 return 0;
31 }
32 return m_Ref;
33 }
#define InterlockedDecrement
Definition: armddk.h:52

Member Data Documentation

◆ m_Handle

HANDLE CKsQualityForwarder::m_Handle
protected

Definition at line 46 of file qualityforward.cpp.

Referenced by KsGetObjectHandle(), and ~CKsQualityForwarder().

◆ m_Ref

LONG CKsQualityForwarder::m_Ref
protected

Definition at line 45 of file qualityforward.cpp.

Referenced by STDMETHODIMP_().


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