Prosoft-technology MVI69-ADM Manuel d'utilisateur Page 194

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 342
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 193
Application Development Function Library - ADM API MVI-ADM 'C' Programmable
Developer's Guide 'C' Programmable Application Development Module
Page 194 of 342 ProSoft Technology, Inc.
February 20, 2013
ADM_RAM_Find_Section
Syntax
char huge * ADM_RAM_Find_Section(ADMHANDLE adm_handle, char * SubSec);
Parameters
adm_handle
Handle returned by previous call to ADM_Open
SubSec
String of Sub-section that you'd like to find in the configuration file.
Description
ADM_RAM_Find_Section tries to find the section passed to the function.
Return Value
Pointer to the location found in the file or NULL if the sub-section is not found.
Example
if((tptr = ADM_RAM_Find_Section(adm_handle, "[Module]")) != NULL)
{
cptr = (char*)ADM_RAM_GetString(tptr, "Module Name");
if(cptr == NULL)
strcpy(module.name, "No Module Name");
else
{
strcpy(module.name, cptr);
}
}
Vue de la page 193
1 2 ... 189 190 191 192 193 194 195 196 197 198 199 ... 341 342

Commentaires sur ces manuels

Pas de commentaire