Prosoft-technology MVI69-ADM Instrukcja Użytkownika Strona 141

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 342
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 140
MVI-ADM 'C' Programmable Application Development Function Library - ADM API
'C' Programmable Application Development Module Developer's Guide
ProSoft Technology, Inc. Page 141 of 342
February 20, 2013
ADM_DBSetWord
Syntax
int ADM_DBSetWord(ADMHANDLE adm_handle, unsigned short offset, const short
val)
Parameters
adm_handle
Handle returned by previous call to ADM_Open
offset
Word offset into database
val
Value to be written to the database
Description
This function writes a word to the database at a specified word 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 short val;
ADM_DBSetWord(adm_handle, offset, val);
See Also
ADM_DBGetWord (page 140)
Przeglądanie stron 140
1 2 ... 136 137 138 139 140 141 142 143 144 145 146 ... 341 342

Komentarze do niniejszej Instrukcji

Brak uwag