Prosoft-technology MVI69-ADM Bedienungsanleitung Seite 149

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 342
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 148
MVI-ADM 'C' Programmable Application Development Function Library - ADM API
'C' Programmable Application Development Module Developer's Guide
ProSoft Technology, Inc. Page 149 of 342
February 20, 2013
ADM_DBSetBuff
Syntax
int ADM_DBSetBuff(ADMHANDLE adm_handle, unsigned short offset, const unsigned
short count, char * str)
Parameters
adm_handle
Handle returned by previous call to ADM_Open
offset
Character offset into database where the buffer starts
count
Number of characters to write
str
String buffer to copy characters from
Description
This function copies a buffer of characters to the database.
adm_handle must be a valid handle returned from ADM_Open.
Return Value
NULL
adm_handle has no access, the database is not allocated, or count
+ offset is beyond the max size of the database
Characters from buffer
Example
ADMHANDLE adm_handle;
unsigned short offset;
const unsigned short char_count;
char *string_buff = "MVI ADM";
char_count = strlen(string_buff);
ADM_DBSetBuff(adm_handle, offset, char_count, string_buff);
See Also
ADM_DBGetBuff (page 148)
Seitenansicht 148
1 2 ... 144 145 146 147 148 149 150 151 152 153 154 ... 341 342

Kommentare zu diesen Handbüchern

Keine Kommentare