ProSoft Technology MVI69-ADMNET User Manual

Page 75

Advertising
background image

MVI-ADMNET ♦ 'C' Programmable

Application Development Function Library - ADMNET API

'C' Programmable Application Development Module with Ethernet

Developer's Guide

ProSoft Technology, Inc.

Page 75 of 122

February 20, 2013

5.6

ADMNET API Miscellaneous Functions

ADM_NET_GetVersionInfo

Syntax

void ADM_NET_GetVersionInfo(ADMNETVERSIONINFO* admnet_verinfo);

Parameters

admnet_verinfo

Pointer to structure of type ADMNETVERSIONINFO.

Description
ADM_GetVersionInfo retrieves the current version of the ADMNET API library.
The information is returned in the structure admnet_verinfo.

The ADMVERSIONINFO structure is defined as follows:

typedef struct
{

char APISeries[4];

short APIRevisionMajor;

short APIRevisionMinor;

long APIRun;

}ADMNETVERSIONINFO;

Return Value
None

Example

ADMNETVERSIONINFO verinfo;
/* print version of API library */

ADM_NET_GetVersionInfo(& verinfo);

printf("Revision %d.%d\n", verinfo.APIRevisionMajor, verinfo.APIRevisionMinor);

Advertising