ReactOS 0.4.16-dev-336-gb667d82
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:48
uint32_t ULONG
Definition: typedefs.h:59

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: