Template Function SafeSet¶
Defined in File utilities.h
Function Documentation¶
-
template<typename
Type>
voidSafeSet(Type **currentObject, Type *newObject)¶ Sets a new COM object, releasing the old one.
- Template Parameters
Type: - The type of the object.
- Parameters
currentObject: - The pointer to the pointer of the current object.newObject: - The pointer to set to the new object.