HP Operations Manager for Windows

opcreg_create()


   #include opcapi.h

   int opcreg_create(
          opcregcond           *reg_cond           /* out */
                    );

Parameters

reg_cond
HPOM registration condition structure.

Description

This routine creates an empty registration condition. The actual structure of this data area is hidden from the user. To get or set attributes, the respective routines must be called. The memory used for the area has to be deallocated by calling opcreg_free().

Return Values

OPC_ERR_OK:
OK

OPC_ERR_INVALID_OUTPARAM:
reg_cond is invalid

OPC_ERR_NO_MEMORY:
allocation of memory failed

Versions

HPOM for Windows A.07.50 and later

See Also

opcreg_copy()

opcreg_free()

opcreg_get_long()

opcreg_get_str()

opcreg_set_long()

opcreg_set_str()