HP Operations Manager for Windows

opcreg_get_str()


   #include opcapi.h

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

Parameters

reg_cond
Registration condition containing the string.

field
Specifies the attribute in the registration condition.

Description

Use the function opcreg_get_str() to access the string attribute of a registration condition.

Return Values

Returns a pointer to the requested string or if not successful a NULL pointer.

Versions

HPOM for Windows A.07.50 and later

See Also

opcreg_create()

opcreg_free()

opcreg_copy()

opcreg_get_long()

opcreg_set_long()

opcreg_set_str()