BACnetDestroyObject (FUN)ΒΆ

FUNCTION BACnetDestroyObject : IEC_BACNET_STATUS

Destroys an object in a local device.

This function destroys an object in the local server database. The device object itself cannot be deleted with this function. An complete local device can only be deleted by calling ::BACnetDestroyDevice.

Return: IEC_BACNET_STATUS

InOut:

Scope

Name

Type

Comment

Return

BACnetDestroyObject

IEC_BACNET_STATUS

Input

instNumber

IEC_BACNET_INST_NUMBER

The device instance number from which the object will be deleted.

pObjID

POINTER TO IEC_BACNET_OBJECT_ID

A pointer to the object identifier which specifies object type and instance number of the object to delete.