Prosoft-technology MVI69-ADM Bedienungsanleitung Seite 265

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 342
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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);
Seitenansicht 264
1 2 ... 260 261 262 263 264 265 266 267 268 269 270 ... 341 342

Kommentare zu diesen Handbüchern

Keine Kommentare