Prosoft-technology MVI69-ADM Manuel d'utilisateur Page 139

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 342
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 138
MVI-ADM 'C' Programmable Application Development Function Library - ADM API
'C' Programmable Application Development Module Developer's Guide
ProSoft Technology, Inc. Page 139 of 342
February 20, 2013
ADM_DBSetByte
Syntax
int ADM_DBSetByte(ADMHANDLE adm_handle, unsigned short offset, const char val)
Parameters
adm_handle
Handle returned by previous call to ADM_Open
offset
Byte offset into database
val
Value to be written to the database
Description
This function writes a byte to the database at a specified byte 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 char val;
ADM_DBSetByte(adm_handle, offset, val);
See Also
ADM_DBGetByte (page 138)
Vue de la page 138
1 2 ... 134 135 136 137 138 139 140 141 142 143 144 ... 341 342

Commentaires sur ces manuels

Pas de commentaire