ProSoft Technology MVI69-ADM User Manual

Page 138

Advertising
background image

Application Development Function Library - ADM API

MVI-ADM ♦ 'C' Programmable

Developer's Guide

'C' Programmable Application Development Module

Page 138 of 342

ProSoft Technology, Inc.

February 20, 2013

ADM_DBGetByte

Syntax

char ADM_DBGetByte(ADMHANDLE adm_handle, unsigned short offset)

Parameters

adm_handle

Handle returned by previous call to ADM_Open

offset

Byte offset into database

Description
This function reads a byte from the database at a specified byte offset.

adm_handle must be a valid handle returned from ADM_Open.

Return Value
Requested byte

Example

ADMHANDLE adm_handle;
unsigned short offset;
int i;
i = ADM_DBGetByte(adm_handle, offset);

See Also
ADM_DBSetByte (page 139)

Advertising