#include opcapi.h
int opcreg_copy(
const opcregcond reg_cond, /* in */
opcregcond *copy /* out */
)
Parameters
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:
OPC_ERR_INVALID_OUTPARAM:
copy
is invalid
OPC_ERR_NO_MEMORY:
Versions
HPOM for Windows A.07.50 and later
See Also