ReactOS  0.4.15-dev-5097-g328cc41
CPortWaveRTStreamInit Class Reference
Inheritance diagram for CPortWaveRTStreamInit:
Collaboration diagram for CPortWaveRTStreamInit:

Public Member Functions

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

Public Attributes

 IMP_IPortWaveRTStreamInit
 

Additional Inherited Members

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

Detailed Description

Definition at line 17 of file port_wavertstream.cpp.

Constructor & Destructor Documentation

◆ CPortWaveRTStreamInit()

CPortWaveRTStreamInit::CPortWaveRTStreamInit ( IUnknown OuterUnknown)
inline

Definition at line 23 of file port_wavertstream.cpp.

23 {}

◆ ~CPortWaveRTStreamInit()

virtual CPortWaveRTStreamInit::~CPortWaveRTStreamInit ( )
inlinevirtual

Definition at line 24 of file port_wavertstream.cpp.

24 {}

Member Function Documentation

◆ QueryInterface()

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

Definition at line 30 of file port_wavertstream.cpp.

33 {
34 
35  DPRINT("IPortWaveRTStream_fnQueryInterface entered\n");
36 
37  if (IsEqualGUIDAligned(refiid, IID_IPortWaveRTStream) ||
39  {
40  *Output = PVOID(PPORTWAVERTSTREAM(this));
41  PUNKNOWN(*Output)->AddRef();
42  return STATUS_SUCCESS;
43  }
44  return STATUS_UNSUCCESSFUL;
45 }
IPortWaveRTStream * PPORTWAVERTSTREAM
Definition: portcls.h:1845
IUnknown * PUNKNOWN
Definition: com_apitest.h:45
#define IsEqualGUIDAligned(guid1, guid2)
Definition: wdm.template.h:235
void * PVOID
Definition: retypes.h:9
const GUID IID_IUnknown
ULONG AddRef()
#define STATUS_UNSUCCESSFUL
Definition: udferr_usr.h:132
Definition: arc.h:85
#define STATUS_SUCCESS
Definition: shellext.h:65
#define DPRINT
Definition: sndvol32.h:71

Member Data Documentation

◆ IMP_IPortWaveRTStreamInit

CPortWaveRTStreamInit::IMP_IPortWaveRTStreamInit

Definition at line 22 of file port_wavertstream.cpp.


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