ReactOS  0.4.15-dev-5463-g138eb58
CUnregisterPhysicalConnection Class Reference
Inheritance diagram for CUnregisterPhysicalConnection:
Collaboration diagram for CUnregisterPhysicalConnection:

Public Member Functions

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

Public Attributes

 IMP_IUnregisterPhysicalConnection
 

Additional Inherited Members

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

Detailed Description

Definition at line 28 of file connection.cpp.

Constructor & Destructor Documentation

◆ CUnregisterPhysicalConnection()

CUnregisterPhysicalConnection::CUnregisterPhysicalConnection ( IUnknown OuterUnknown)
inline

Definition at line 35 of file connection.cpp.

35 {}

◆ ~CUnregisterPhysicalConnection()

virtual CUnregisterPhysicalConnection::~CUnregisterPhysicalConnection ( )
inlinevirtual

Definition at line 37 of file connection.cpp.

37 {}

Member Function Documentation

◆ QueryInterface()

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

Definition at line 42 of file connection.cpp.

45 {
47 
48  if (IsEqualGUIDAligned(refiid, IID_IUnregisterPhysicalConnection) ||
50  {
51  *Output = PVOID(PUNKNOWN(this));
52 
53  PUNKNOWN(*Output)->AddRef();
54  return STATUS_SUCCESS;
55  }
56 
58  {
59  DPRINT1("CUnregisterPhysicalConnection::QueryInterface no interface!!! iface %S\n", GuidString.Buffer);
61  }
62 
63  return STATUS_UNSUCCESSFUL;
64 }
static PWSTR GuidString
Definition: apphelp.c:93
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
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_IUnregisterPhysicalConnection

CUnregisterPhysicalConnection::IMP_IUnregisterPhysicalConnection

Definition at line 33 of file connection.cpp.


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