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

  • 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 151
Application Development Function Library - ADM API MVI-ADM 'C' Programmable
Developer's Guide 'C' Programmable Application Development Module
Page 152 of 342 ProSoft Technology, Inc.
February 20, 2013
ADM_DBGetString
Syntax
char * ADM_DBGetString(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 retrieve
str
String buffer to receive characters
Description
This function copies a string from the database to a string buffer.
adm_handle must be a valid handle returned from ADM_Open.
Return Value
Returns NULL if not successful.
Returns str if string is copy is successful.
Example
ADMHANDLE adm_handle;
unsigned short offset;
const unsigned short maxcount;
char *string_buff;
ADM_DBGetString(adm_handle, offset, maxcount, str);
See Also
ADM_DBSetString (page 153)
Zobrazit stránku 151
1 2 ... 147 148 149 150 151 152 153 154 155 156 157 ... 341 342

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

Žádné komentáře