EmpInfParseGetValueFromSectionAndKeyName
INT8 *__stdcall EmpInfParseGetValueFromSectionAndKeyName(
VOID *ParsedInfHandle,
INT8 *Section,
INT8 *KeyName,
UINT64 ValueIndex,
UINT64 *LineIndex){
INT8 *SectionLineIndex;
unsigned int i;
const char *v10;
const char *v11;
__int64 v12;
SectionLineIndex = 0i64;
for( i = 0; ; ++i )
{
v10 = CmpGetKeyName(ParsedInfHandle, Section, i);
v11 = v10;
if( v10 )
{
v12 = -1i64;
do
++v12;
while( KeyName[v12] );
if( !strnicmp(v10, KeyName, v12) )
break;
}
if( !v11 )
return SectionLineIndex;
}
SectionLineIndex = CmpGetSectionLineIndex(ParsedInfHandle, Section, i, 0i64);
if( LineIndex )
*(_DWORD *)LineIndex = i;
return SectionLineIndex;
}Referenced by:
EmpInfParseGetGuidFromName
EmpInfParseGetStringIndexFromName
EmpParseRuleExpression