#include opcapi.h
int opcdata_create(
int data_type, /* in */
opcdata *data /* out */
);
Parameters
data_type
data
Description
This function allocates and initializes a data structure. To get or set attributes, the respective routines must be called. The memory used for the area must be deallocated by calling opcdata_free().
Return Values
OPC_ERR_OK:
OPC_ERR_INVALID_OUTPARAM:
data
is invalid; probably NULL
OPC_ERR_CANT_INIT:
OPC_ERR_NO_MEMORY:
Versions
HPOM for Windows A.07.50 and later
See Also