FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kLight_AddExtension ( kLight  light,
kType  type,
kLightExt extension 
)

Creates and adds a new light control extension of the specified type.

The new extension is added to the end of the light's extension list.

Parameters
lightLight object.
typeType of extension to add.
extensionReceives the new extension object.
Returns
Operation status.