piut_getapiversion

This function retrieves the version number of the PI-API.

C format

int32 piut_getapiversion (

char PIPTR * version,

int32 len);

Returns

0

Success

-1

The buffer is not large enough.

Arguments

version (returned)

PI-API version

len (passed)

Length of the version buffer. Buffer must be allocated to hold at least 9 characters.

Usage Notes

An example of the returned string is "1.3.0.0"

Enabling Operational Intelligence