#include <cogent.h>
ST_STATUS HI_Delete(IP_hTASK historian, char* retbuf, int buflen, char* histpattern );
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 removes all memory associated with a given history, but does not remove any files on disk. It flushes the history to disk.
This function corresponds to the Cascade Historian delete command and the hist_delete dynamic library function.
Copyright © 1995-2006 by Cogent Real-Time Systems, Inc. All rights reserved.