comstl/util/refcount_functions.h File Reference


Detailed Description

[C++ only; requires COM] Reference-counting helper functions (COM Utility Library).

#include <comstl/comstl.h>

Go to the source code of this file.

Namespaces

namespace  comstl

Functions

STLSOFT_INLINE void comstl__addref (LPUNKNOWN punk)
 [C only] Adds a reference on the interface pointer
STLSOFT_INLINE void comstl__release (LPUNKNOWN punk)
 [C only] Releases a reference on the interface pointer
STLSOFT_INLINE void comstl__safe_addref (LPUNKNOWN punk)
 [C only] Adds a reference on the interface pointer
STLSOFT_INLINE void comstl__safe_release (LPUNKNOWN punk)
 [C only] Releases a reference on the interface pointer
void addref (LPUNKNOWN punk)
 Adds a reference on the interface pointer.
void release (LPUNKNOWN punk)
 Releases a reference on the interface pointer.
void safe_addref (LPUNKNOWN punk)
 Adds a reference on the interface pointer.
void safe_release (LPUNKNOWN punk)
 Releases a reference on the interface pointer.
template<typename T>
void release_set_null (T *&pt)
 Releases a reference on the interface pointer, and resets the pointer.


Generated on Thu Jun 10 08:57:57 2010 for STLSoft by  doxygen 1.5.6