HP Operations Manager for Windows

opcdata_clear()


   #include opcapi.h

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

Parameters

data
Points to the data area that will be cleared.

Description

Frees an re-initializes all fields in data.

Note NOTE:
This function changes the pointer to the data structure.

Return Values

OPC_ERR_OK:
OK

OPC_ERR_INVALID_INPARAM:
parameter data is invalid; probably NULL

OPC_ERR_CANT_INIT:
unable to initialize

OPC_ERR_NO_MEMORY:
memory allocation failed

Versions

HPOM for Windows A.07.50 and later