
Side-Connect API Library Functions MVI-ADM ♦ 'C' Programmable
Developer's Guide 'C' Programmable Application Development Module
Page 326 of 342 ProSoft Technology, Inc.
February 20, 2013
11.9 Side-connect API Miscellaneous Functions
MVIsc_GetVersionInfo
Syntax
int MVIsc_GetVersionInfo(HANDLE handle, MVISCVERSIONINFO *verinfo);
Parameters
Handle returned by previous call to MVIsc_Open
Pointer to structure of type MVISCVERSIONINFO
Description
MVIsc_GetVersionInfo retrieves the current version of the API library. The
version information is returned in the structure verinfo.
handle must be a valid handle returned from MVIsc_Open. The
MVISCVERSIONINFO structure is defined as follows:
typedef struct tagMVISCVERSIONINFO
{
WORD APISeries; /* API Series */
WORD APIRevision; /* API Revision */
} MVISCVERSIONINFO;
Return Value
The version information was read successfully.
handle does not have access
Example
HANDLE Handle;
MVISCVERSIONINFO verinfo;
/* print version of API library */
MVIsc_GetVersionInfo(Handle,&verinfo);
printf("Library Series %d, Rev %d\n", verinfo.APISeries, verinfo.APIRevision);
Comentarios a estos manuales