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

Public Member Functions

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

Public Attributes

 IMP_IDrmPort2
 

Additional Inherited Members

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

Detailed Description

Definition at line 14 of file drm_port.cpp.

Constructor & Destructor Documentation

◆ CDrmPort2()

CDrmPort2::CDrmPort2 ( IUnknown OuterUnknown)
inline

Definition at line 20 of file drm_port.cpp.

20{}

◆ ~CDrmPort2()

virtual CDrmPort2::~CDrmPort2 ( )
inlinevirtual

Definition at line 21 of file drm_port.cpp.

21{}

Member Function Documentation

◆ QueryInterface()

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

Definition at line 26 of file drm_port.cpp.

29{
31
32 if (IsEqualGUIDAligned(refiid, IID_IDrmPort) ||
33 IsEqualGUIDAligned(refiid, IID_IDrmPort2) ||
35 {
36 *Output = PVOID(PUNKNOWN(this));
37 PUNKNOWN(*Output)->AddRef();
38 return STATUS_SUCCESS;
39 }
40
42 {
43 DPRINT("IDrmPort2_QueryInterface no interface!!! iface %S\n", GuidString.Buffer);
45 }
47}
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)
@ Output
Definition: arc.h:85
#define STATUS_SUCCESS
Definition: shellext.h:65
#define DPRINT
Definition: sndvol32.h:71
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_IDrmPort2

CDrmPort2::IMP_IDrmPort2

Definition at line 19 of file drm_port.cpp.


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