HP Operations Manager for Windows

opcreg_copy()


   #include opcapi.h

   int opcreg_copy(
            const opcregcond    reg_cond,           /* in */
            opcregcond          *copy               /* out */
                  )

Parameters

reg_cond
HPOM registration condition structure.
copy
Copy of reg_cond.

Description

The API creates a copy of the condition and returns it in copy. The allocated memory has to be deallocated using opcreg_free(). copy must be freed using opcreg_free() before calling this function.

Return Values

OPC_ERR_OK
OK.
OPC_ERR_INVALID_OUTPARAM
copy is invalid.
OPC_ERR_NO_MEMORY
Allocation of memory failed.

Versions

HPOM for Windows 8.00 and higher

See Also

opcreg_create()
opcreg_free()
opcreg_get_long()
opcreg_get_str()
opcreg_set_long()
opcreg_set_str()

 

500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@systemmanager.forsenergy.ru to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.