Prosoft-technology MVI69-ADM Bedienungsanleitung Seite 155

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 342
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 154
MVI-ADM 'C' Programmable Application Development Function Library - ADM API
'C' Programmable Application Development Module Developer's Guide
ProSoft Technology, Inc. Page 155 of 342
February 20, 2013
ADM_DBSwapDWord
Syntax
int ADM_DBSwapDWord(ADMHANDLE adm_handle, unsigned short offset, int type)
Parameters
adm_handle
Handle returned by previous call to ADM_Open
offset
long offset into database where swapping is to be performed
type
If type = 3 then bytes will be swapped in pairs within the long.
Description
This function swaps bytes within a database long word.
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;
ADM_DBSwapDWord(adm_handle, offset, 3);
Seitenansicht 154
1 2 ... 150 151 152 153 154 155 156 157 158 159 160 ... 341 342

Kommentare zu diesen Handbüchern

Keine Kommentare