ProSoft Technology MVI69-ADM User Manual
Page 150

Application Development Function Library - ADM API
MVI-ADM ♦ 'C' Programmable
Developer's Guide
'C' Programmable Application Development Module
Page 150 of 342
ProSoft Technology, Inc.
February 20, 2013
ADM_DBGetRegs
Syntax
unsigned short * ADM_DBGetRegs(ADMHANDLE adm_handle, unsigned short offset,
const unsigned short count, unsigned short * buff)
Parameters
adm_handle
Handle returned by previous call to ADM_Open
offset
Character offset into database where the buffer starts
count
Number of integers to retrieve
buff
Register buffer to receive integers
Description
This function copies a buffer of registers in the database to a register buffer.
adm_handle must be a valid handle returned from ADM_Open.
Return Value
Returns NULL if not successful.
Returns buff if successful.
Example
ADMHANDLE adm_handle;
unsigned short offset;
const unsigned short reg_count;
unsigned short *reg_buff;
ADM_DBGetRegs(adm_handle, offset, reg_count, reg_buff);
See Also
ADM_DBSetRegs (page 151)