BACnetAttachUserDataToObjectHandle (FUN)

FUNCTION BACnetAttachUserDataToObjectHandle : IEC_BACNET_STATUS

Attaches a user application defined pointer which can be retrieved from the handle by a call to BACnetGetUserDataFromObjectHandle. 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.

InOut:

Scope

Name

Type

Comment

Return

BACnetAttachUserDataToObjectHandle

IEC_BACNET_STATUS

Input

handleToObject

IEC_BACNET_HANDLE

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

userData

POINTER TO BYTE

A pointer with data associated with the object.