Prosoft-technology MVI69-ADM Manual de usuario Pagina 265

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 342
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 264
MVI-ADM 'C' Programmable Serial Port Library Functions
'C' Programmable Application Development Module Developer's Guide
ProSoft Technology, Inc. Page 265 of 342
February 20, 2013
9.5 Serial Port API Miscellaneous Functions
MVIsp_GetVersionInfo
Syntax
int MVIsp_GetVersionInfo(MVISPVERSIONINFO *verinfo);
Parameters
verinfo
Pointer to structure of type MVISPVERSIONINFO
Description
MVIsp_GetVersionInfo retrieves the current version of the API. The version
information is returned in the structure verinfo.
The MVISPVERSIONINFO structure is defined as follows:
typedef struct tagMVISPVERSIONINFO
{
WORD APISeries; /* API series */
WORD APIRevision; /* API revision */
} MVISPVERSIONINFO;
Return Value
MVI_SUCCESS
The version information was read successfully.
Example
MVISPVERSIONINFO verinfo;
/* print version of API library */
MVIsp_GetVersionInfo(&verinfo);
printf("Library Series %d, Rev %d\n", verinfo.APISeries, verinfo.APIRevision);
Vista de pagina 264
1 2 ... 260 261 262 263 264 265 266 267 268 269 270 ... 341 342

Comentarios a estos manuales

Sin comentarios