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 8.00 and higher

See Also

opcreg_copy()
opcreg_free()
opcreg_get_long()
opcreg_get_str()
opcreg_set_long()
opcreg_set_str()