HP Operations Manager for Windows

opcdata_generate_id()


   #include opcapi.h

   int opcdata_generate_id (
           opcdata   data       /* in */
          ,const int attribute  /* in */
                          );

Parameters

data
Pointer to the opcdata structure.

attribute
Specified which ID should be set.

Description

Generates an HPOM uuid and puts it into the ID field (specified in attribute) of the given opcdata structure.

Return Values

OPC_ERR_OK:
OK

OPC_ERR_INVALID_INPARAM:
Input parameter was not valid.

Versions

HPOM for Windows A.07.50 and later