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

  • 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 161
Application Development Function Library - ADM API MVI-ADM 'C' Programmable
Developer's Guide 'C' Programmable Application Development Module
Page 162 of 342 ProSoft Technology, Inc.
February 20, 2013
ADM_DBNOR_Byte
Syntax
int ADM_DBNOR_Byte(ADMHANDLE adm_handle, int offset, unsigned char bval)
Parameters
adm_handle
Handle returned by previous call to ADM_Open
offset
Byte offset into database
bval
Bit mask to be NORed with the byte at offset
Description
This function NORs a byte in the database with a byte-long bit mask.
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;
int offset;
unsigned char bval = 0x55;
ADM_DBNOR_Byte(adm_handle, offset, bval);
Vue de la page 161
1 2 ... 157 158 159 160 161 162 163 164 165 166 167 ... 341 342

Commentaires sur ces manuels

Pas de commentaire