HP Operations Manager for Windows

opcreg_get_long()


   #include opcapi.h

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

Parameters

reg_cond
HPOM registration condition structure.
field
Selects the attribute that is queried.

Description

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

Return Values

Returns the integer value of the attribute. If the routine fails, - 1 is returned.

Versions

HPOM for Windows 8.00 and higher

See Also

opcreg_copy()
opcreg_create()
opcreg_free()
opcreg_get_str()
opcreg_set_long()
opcreg_set_str()