ProSoft Technology MVI69-ADM User Manual

Page 157

Advertising
background image

MVI-ADM ♦ 'C' Programmable

Application Development Function Library - ADM API

'C' Programmable Application Development Module

Developer's Guide

ProSoft Technology, Inc.

Page 157 of 342

February 20, 2013

ADM_GetDBIptr

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 a pointer to int corresponding to the database + offset
location.

adm_handle must be a valid handle returned from ADM_Open.

Return Value
Returns NULL if not successful.

Returns pointer to int if successful.

Example

ADMHANDLE adm_handle;
int offset;
int i;
i = *(ADM_GetDBIptr(adm_handle, offset));

Advertising