Prosoft-technology MVI69-ADM Manual de usuario Pagina 143

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 342
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 142
MVI-ADM 'C' Programmable Application Development Function Library - ADM API
'C' Programmable Application Development Module Developer's Guide
ProSoft Technology, Inc. Page 143 of 342
February 20, 2013
ADM_DBSetLong
Syntax
int ADM_DBSetLong(ADMHANDLE adm_handle, unsigned short offset, const long val)
Parameters
adm_handle
Handle returned by previous call to ADM_Open
offset
Long int offset into database
val
Value to be written to the database
Description
This function writes a long int to the database at a specified long int offset.
adm_handle must be a valid handle returned from ADM_Open.
Return Value
ADM_SUCCESS
No errors were encountered
ADM_ERR_NOACCESS
adm_handle does not have access
ADM_ERR_MEMORY
database is not allocated
ADM_ERR_REG_RANGE
offset is out of range
Example
ADMHANDLE adm_handle;
unsigned short offset;
const long val;
ADM_DBSetLong(adm_handle, offset, val);
See Also
ADM_DBGetLong (page 142)
Vista de pagina 142
1 2 ... 138 139 140 141 142 143 144 145 146 147 148 ... 341 342

Comentarios a estos manuales

Sin comentarios