HP Operations Manager for Windows

opcdata_set_long()


   #include opcapi.h

   int opcdata_set_long(
                    opcdata      data,         /* in/out */
                    int          attribute,    /* in */
                    long         value         /* in */
                       );

Parameters

data
HPOM data structure containing the attribute to be set.

attribute
Specifies the attribute.

value
Contains the value of the attribute to be set.

Description

Use the opcdata_set_long() routine to set the numeric long attribute in data to value.

Return Values

OPC_ERR_OK:
OK

OPC_ERR_INVALID_INPARAM:
data is NULL, attribute is invalid

Versions

HPOM for Windows A.07.50 and later

See Also

HPOM Data Structures