ReactOS 0.4.16-dev-197-g92996da
CUnregisterSubdevice Class Reference
Inheritance diagram for CUnregisterSubdevice:
Collaboration diagram for CUnregisterSubdevice:

Public Member Functions

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

Public Attributes

 IMP_IUnregisterSubdevice
 

Additional Inherited Members

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

Detailed Description

Definition at line 14 of file unregister.cpp.

Constructor & Destructor Documentation

◆ CUnregisterSubdevice()

CUnregisterSubdevice::CUnregisterSubdevice ( IUnknown OuterUnknown)
inline

Definition at line 21 of file unregister.cpp.

21{}

◆ ~CUnregisterSubdevice()

virtual CUnregisterSubdevice::~CUnregisterSubdevice ( )
inlinevirtual

Definition at line 22 of file unregister.cpp.

22{}

Member Function Documentation

◆ QueryInterface()

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

Definition at line 28 of file unregister.cpp.

31{
33
34 if (IsEqualGUIDAligned(refiid, IID_IUnregisterSubdevice) ||
36 {
38 PUNKNOWN(*Output)->AddRef();
39 return STATUS_SUCCESS;
40 }
41
43 {
44 DPRINT1("IPortWaveCyclic_fnQueryInterface no interface!!! iface %S\n", GuidString.Buffer);
46 }
47
49}
#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)
IUnregisterSubdevice * PUNREGISTERSUBDEVICE
Definition: portcls.h:635
@ 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_IUnregisterSubdevice

CUnregisterSubdevice::IMP_IUnregisterSubdevice

Definition at line 19 of file unregister.cpp.


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