#include <cogent.h>
ST_STATUS HI_Version(
IP_hTASK historian, char* retbuf, int buflen )
;
The task pointer to the Cascade Historian program.
A required buffer containing an error message.
The length in bytes of retbuf. This must be a valid non-zero length.
ST_OK on success. Otherwise ST_ERROR, and the retbuf will contain a NULL-terminated character string with an error message. If the return value is ST_OK, the retbuf may not contain useful information.
This function returns the version number of the Cascade Historian in retbuf. The retbuf and buflen parameters are not optional in this case. buflen must be at least 32 characters.
This function corresponds to the Cascade Historian version command and the hist_version dynamic library function.
Copyright © 1995-2010 by Cogent Real-Time Systems, Inc. All rights reserved.