Prosoft-technology MVI69-ADM Manual de usuario Pagina 185

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 342
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 184
MVI-ADM 'C' Programmable Application Development Function Library - ADM API
'C' Programmable Application Development Module Developer's Guide
ProSoft Technology, Inc. Page 185 of 342
February 20, 2013
7.9 ADM API Miscellaneous Functions
ADM_GetVersionInfo
Syntax
int ADM_GetVersionInfo(ADMHANDLE adm_handle, ADMVERSIONINFO *adm_verinfo);
Parameters
adm_handle
Handle returned by previous call to ADM_Open
adm_verinfo
Pointer to structure of type ADMVERSIONINFO
Description
ADM_GetVersionInfo retrieves the current version of the ADM API library. The
information is returned in the structure adm_verinfo. adm_handle must be a valid
handle returned from ADM_Open.
The ADMVERSIONINFO structure is defined as follows:
typedef struct
{
char APISeries[4];
short APIRevisionMajor;
short APIRevisionMinor;
long APIRun;
}ADMVERSIONINFO;
Return Value
ADM_SUCCESS
The version information was read successfully.
ADI_ERR_NOACCESS
adm_handle does not have access
Example
ADMHANDLE adm_handle;
ADMVERSIONINFO verinfo;
/* print version of API library */
ADM_GetVersionInfo(adm_handle, &adm_version);
printf("Revision %d.%d\n", verinfo.APIRevisionMajor, verinfo.APIRevisionMinor);
Vista de pagina 184
1 2 ... 180 181 182 183 184 185 186 187 188 189 190 ... 341 342

Comentarios a estos manuales

Sin comentarios