Prosoft-technology MVI69-ADM Uživatelský manuál Strana 153

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 342
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 152
MVI-ADM 'C' Programmable Application Development Function Library - ADM API
'C' Programmable Application Development Module Developer's Guide
ProSoft Technology, Inc. Page 153 of 342
February 20, 2013
ADM_DBSetString
Syntax
int ADM_DBSetString(ADMHANDLE adm_handle, unsigned short offset, const
unsigned short maxcount, char * str)
Parameters
adm_handle
Handle returned by previous call to ADM_Open
offset
Character offset into database where the buffer starts
maxcount
Maximum number of characters to write
str
String buffer to copy string from
Description
This function copies a string to the database from a string buffer.
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 unsigned short maxcount;
char *string_buff;
ADM_DBSetString(adm_handle, offset, maxcount, str);
See Also
ADM_DBGetString (page 152)
Zobrazit stránku 152
1 2 ... 148 149 150 151 152 153 154 155 156 157 158 ... 341 342

Komentáře k této Příručce

Žádné komentáře