ReactOS  0.4.15-dev-5097-g328cc41
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 17 of file unregister.cpp.

Constructor & Destructor Documentation

◆ CUnregisterSubdevice()

CUnregisterSubdevice::CUnregisterSubdevice ( IUnknown OuterUnknown)
inline

Definition at line 24 of file unregister.cpp.

24 {}

◆ ~CUnregisterSubdevice()

virtual CUnregisterSubdevice::~CUnregisterSubdevice ( )
inlinevirtual

Definition at line 25 of file unregister.cpp.

25 {}

Member Function Documentation

◆ QueryInterface()

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

Definition at line 31 of file unregister.cpp.

34 {
36 
37  if (IsEqualGUIDAligned(refiid, IID_IUnregisterSubdevice) ||
39  {
41  PUNKNOWN(*Output)->AddRef();
42  return STATUS_SUCCESS;
43  }
44 
46  {
47  DPRINT1("IPortWaveCyclic_fnQueryInterface no interface!!! iface %S\n", GuidString.Buffer);
49  }
50 
51  return STATUS_UNSUCCESSFUL;
52 }
static PWSTR GuidString
Definition: apphelp.c:93
IUnknown * PUNKNOWN
Definition: com_apitest.h:45
IUnregisterSubdevice * PUNREGISTERSUBDEVICE
Definition: portcls.h:633
#define IsEqualGUIDAligned(guid1, guid2)
Definition: wdm.template.h:235
void * PVOID
Definition: retypes.h:9
const GUID IID_IUnknown
NTSYSAPI VOID NTAPI RtlFreeUnicodeString(PUNICODE_STRING UnicodeString)
ULONG AddRef()
#define STATUS_UNSUCCESSFUL
Definition: udferr_usr.h:132
Definition: arc.h:85
NTSYSAPI NTSTATUS WINAPI RtlStringFromGUID(REFGUID, PUNICODE_STRING)
#define DPRINT1
Definition: precomp.h:8
#define STATUS_SUCCESS
Definition: shellext.h:65

Member Data Documentation

◆ IMP_IUnregisterSubdevice

CUnregisterSubdevice::IMP_IUnregisterSubdevice

Definition at line 22 of file unregister.cpp.


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