ProSoft Technology MVI69-ADM User Manual
Page 156

Application Development Function Library - ADM API
MVI-ADM ♦ 'C' Programmable
Developer's Guide
'C' Programmable Application Development Module
Page 156 of 342
ProSoft Technology, Inc.
February 20, 2013
ADM_GetDBCptr
Syntax
char * ADM_GetDBCptr(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 char corresponding to the database + offset
location. Because offset is a word offset, the pointer will always reference a
character on a word boundary.
adm_handle must be a valid handle returned from ADM_Open.
Return Value
Returns NULL if not successful.
Returns pointer to char if successful.
Example
ADMHANDLE adm_handle;
int offset;
char c;
c = *(ADM_GetDBCptr(adm_handle, offset));