INtime SDK Help
DeleteRtReferenceObject
INtime SDK v7 > About INtime > INtime Kernel > Global objects > DeleteRtReferenceObject

Deletes a reference object.

#include <rt.h> 

BOOLEAN DeleteRtReferenceObject(
    RTHANDLE hRef
);

Parameters

hRef
The handle for an existing reference object.

Remarks

The reference object refers to a real object ("the target object").

If the target object is a reference-counted object:

If the target object is not a reference-counted object:

Return Values

TRUE
Success.
FALSE
Failure. The function sets GetLastRtError to one of these values:
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.
E_RESOURCE_LIMIT Insufficient resources are available to signal the remote node.

Requirements

Versions Defined in Include Link to
INtime 4.0 intime/rt/include/rt.h rt.h rt.lib
See Also