HP Operations Manager for Windows

opcdata_free()


   #include opcapi.h

   int opcdata_free(
                 opcdata        *data        /* in/out */
                   );

Parameters

data
Pointer to the data area that will be deallocated. data will be reset to NULL.

Description

The function opcdata_free() deallocates memory previously allocated by one of the functions opcif_read(), opcdata_create(), and opcdata_copy().

Return Values

OPC_ERR_OK:
OK

OPC_ERR_INVALID_INPARAM:
data is NULL or of wrong type

Versions

HPOM for Windows A.07.50 and later

See Also

HPOM Data Structures