Prosoft-technology MVI69-ADM Manual de usuario Pagina 194

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 342
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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);
}
}
Vista de pagina 193
1 2 ... 189 190 191 192 193 194 195 196 197 198 199 ... 341 342

Comentarios a estos manuales

Sin comentarios