HP Operations Manager for Windows

opcreg_get_long()


   #include opcapi.h

   int   opcreg_get_long (
         const opcregcond     reg_cond,       /* in */
         int                  field           /* in */
                        );

Parameters

reg_cond
Registration condition containing the numeric value.

field
Specifies the attribute in the registration condition.

Description

Use the function opcreg_get_long() to access the attribute values of a condition.

Return Values

Returns the requested long value, or, if not successful -1.

Versions

HPOM for Windows A.07.50 and later

See Also

opcreg_create()

opcreg_free()

opcreg_copy()

opcreg_get_str()

opcreg_set_long()

opcreg_set_str()