ReactOS 0.4.15-dev-8422-g6219a1a
CPortClsVersion Class Reference
Inheritance diagram for CPortClsVersion:
Collaboration diagram for CPortClsVersion:

Public Member Functions

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

Public Attributes

 IMP_IPortClsVersion
 

Additional Inherited Members

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

Detailed Description

Definition at line 14 of file version.cpp.

Constructor & Destructor Documentation

◆ CPortClsVersion()

CPortClsVersion::CPortClsVersion ( IUnknown OuterUnknown)
inline

Definition at line 21 of file version.cpp.

22 {
23 }

◆ ~CPortClsVersion()

virtual CPortClsVersion::~CPortClsVersion ( )
inlinevirtual

Definition at line 24 of file version.cpp.

25 {
26
27 }

Member Function Documentation

◆ QueryInterface()

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

Definition at line 36 of file version.cpp.

39{
41
42 if (IsEqualGUIDAligned(refiid, IID_IPortClsVersion) ||
44 {
46 PUNKNOWN(*Output)->AddRef();
47 return STATUS_SUCCESS;
48 }
49
51 {
52 DPRINT1("CPortClsVersion::QueryInterface no interface!!! iface %S\n", GuidString.Buffer);
54 }
55
57}
#define DPRINT1
Definition: precomp.h:8
const GUID IID_IUnknown
IUnknown * PUNKNOWN
Definition: com_apitest.h:45
NTSYSAPI NTSTATUS WINAPI RtlStringFromGUID(REFGUID, PUNICODE_STRING)
ULONG AddRef()
static PWSTR GuidString
Definition: apphelp.c:93
NTSYSAPI VOID NTAPI RtlFreeUnicodeString(PUNICODE_STRING UnicodeString)
IPortClsVersion * PPORTCLSVERSION
Definition: portcls.h:2263
@ 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_IPortClsVersion

CPortClsVersion::IMP_IPortClsVersion

Definition at line 19 of file version.cpp.


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