BACnetAttachUserDataToObjectPropertyOverObjectHandle (FUN)

FUNCTION BACnetAttachUserDataToObjectPropertyOverObjectHandle : IEC_BACNET_STATUS

Attaches a user application defined pointer which can be retrieved from the handle by a call to ::BACnetGetUserDataFromObjectPropertyOverObjectHandle. Everywhere the client or server API delivers a handle to an internal object the user application is able to access it’s application specifiec data associated with the object property.

Return: IEC_BACNET_STATUS

InOut:

Scope

Name

Type

Comment

Return

BACnetAttachUserDataToObjectPropertyOverObjectHandle

IEC_BACNET_STATUS

Input

handleToObject

IEC_BACNET_HANDLE

A valid handle to the object retrieved by a call to ::BACnetGetObjectHandle.

ePropertyID

IEC_BACNET_PROPERTY_ID

A property id which is valid and existend for the given object handle.

userData

POINTER TO IEC_BACNET_BYTE

A pointer with data associated with the object.