ReactOS  0.4.13-dev-92-gf251225
SimpleComObject Struct Reference

#include <shellclasses.h>

Inheritance diagram for SimpleComObject:
Collaboration diagram for SimpleComObject:

Public Member Functions

ULONG IncRef ()
 
ULONG DecRef ()
 

Additional Inherited Members

- Protected Member Functions inherited from ComSrvObject
 ComSrvObject ()
 
virtual ~ComSrvObject ()
 
- Protected Attributes inherited from ComSrvObject
ULONG _ref
 

Detailed Description

Definition at line 457 of file shellclasses.h.

Member Function Documentation

◆ DecRef()

ULONG SimpleComObject::DecRef ( )
inline

Definition at line 460 of file shellclasses.h.

460 {ULONG ref=--_ref; if (!ref) {_ref++; delete this;} return ref;}
Definition: send.c:47
GLenum GLint ref
Definition: glext.h:6028
unsigned int ULONG
Definition: retypes.h:1

Referenced by OleInPlaceClient::STDMETHODIMP_().

◆ IncRef()

ULONG SimpleComObject::IncRef ( )
inline

Definition at line 459 of file shellclasses.h.

459 {return ++_ref;}

Referenced by OleInPlaceClient::QueryInterface(), and OleInPlaceClient::STDMETHODIMP_().


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