ProSoft Technology MVI69-ADM User Manual

Page 158

Advertising
background image

Application Development Function Library - ADM API

MVI-ADM ♦ 'C' Programmable

Developer's Guide

'C' Programmable Application Development Module

Page 158 of 342

ProSoft Technology, Inc.

February 20, 2013

ADM_GetDBInt

Syntax

int ADM_GetDBIptr(ADMHANDLE adm_handle, int offset)

Parameters

adm_handle

Handle returned by previous call to ADM_Open

offset

Word offset into database

Description
This function obtains an int corresponding to the database + offset location.

adm_handle must be a valid handle returned from ADM_Open.

Return Value
Returns 0 if not successful.

Returns int requested if successful.

Example

ADMHANDLE adm_handle;
int offset;
int i;
i = ADM_GetDBInt(adm_handle, offset);

Advertising