![]() |
Functions | |
| kmeFileHandle | kvmKmeOpenFile (const char *filename, kvmStatus *status, int32 fileType) |
| kvmStatus | kvmKmeScanFileType (const char *filename, int32 *fileType) |
| kmeFileHandle | kvmKmeCreateFile (const char *filename, kvmStatus *status, int32 fileType) |
| kvmStatus | kvmKmeReadEvent (kmeFileHandle h, kvmLogEventEx *e) |
| kvmStatus | kvmKmeWriteEvent (kmeFileHandle h, kvmLogEventEx *e) |
| kvmStatus | kvmKmeCountEvents (kmeFileHandle h, uint32 *eventCount) |
| kvmStatus | kvmKmeCountEventsEx (kmeFileHandle h, int64 *eventCount) |
| kvmStatus | kvmKmeCloseFile (kmeFileHandle h) |
| kvmStatus kvmKmeCloseFile | ( | kmeFileHandle | h | ) |
Close an open KME file opened with kvmKmeOpenFile() or created with kvmKmeCreateFile(). The handle becomes invalid.
| [in] | h | An open handle to a KME file. |
| kvmStatus kvmKmeCountEvents | ( | kmeFileHandle | h, |
| uint32 * | eventCount | ||
| ) |
Count the number of events in a KME file.
| [in] | h | An open handle to a KME file. |
| [out] | eventCount | Approximate number of events in a KME file. |
| kvmStatus kvmKmeCountEventsEx | ( | kmeFileHandle | h, |
| int64 * | eventCount | ||
| ) |
Count the number of events in a KME file.
| [in] | h | An open handle to a KME file. |
| [out] | eventCount | Approximate number of events in a KME file. |
| kmeFileHandle kvmKmeCreateFile | ( | const char * | filename, |
| kvmStatus * | status, | ||
| int32 | fileType | ||
| ) |
Open a KME file for writing and obtain a handle for subsequent operations. Note that kvmKmeCreateFile() will overwrite any existing file and that kvmFILE_KME24 and kvmFILE_KME25 are deprecated formats. Please use kvmFILE_KME40.
| [in] | filename | The full path and name of the KME file, e.g. C:\temp\myfile.kme |
| [in] | fileType | kvmFILE_xxx |
| [out] | status | kvmOK (zero) if success kvmERR_xxx (negative) if failure |
| kmeFileHandle kvmKmeOpenFile | ( | const char * | filename, |
| kvmStatus * | status, | ||
| int32 | fileType | ||
| ) |
Open a KME file for reading and obtain a handle for subsequent operations.
| [in] | filename | The full path and name of the KME file, e.g. C:\temp\myfile.kme |
| [in] | fileType | kvmFILE_xxx |
| [out] | status | kvmOK (zero) if success kvmERR_xxx (negative) if failure |
| kvmStatus kvmKmeReadEvent | ( | kmeFileHandle | h, |
| kvmLogEventEx * | e | ||
| ) |
Read an event from a KME file opened with kvmKmeOpenFile().
| [in] | h | An open handle to a KME file. |
| [out] | e | Event from a KME file. |
Open a KME file and obtain the file format type.
| [in] | filename | The full path and name of the KME file, e.g. C:\temp\myfile.kme |
| [out] | fileType | kvmFILE_xxx |
| kvmStatus kvmKmeWriteEvent | ( | kmeFileHandle | h, |
| kvmLogEventEx * | e | ||
| ) |
Write an event to a KME file created with kvmKmeCreateFile().
| [in] | h | An open handle to a KME file. |
| [in] | e | Event to write. |