Deletes a reference object.
#include <rt.h> BOOLEAN DeleteRtReferenceObject( RTHANDLE hRef );
hRef
If the object indicated by the reference object is a reference-counted object then it will have its reference count decremented and the object will be deleted if the count reaches zero. If the object is owned by the calling process then the object will be deleted. In all other cases only the reference object will be deleted and the referred-to object will not be deleted.
E_TYPE |
The handle does not indicate a reference object. |
E_EXIST |
The handle does not refer to a valid object, OR The remote object indicated by the reference object does not exist. |
Versions | Defined in | Include | Link to |
---|---|---|---|
INtime 4.0 | intime/rt/include/rt.h | rt.h | rt.lib |