The SetupFindNextLine returns the location of the next line in an INF file section relative to ContextIn.Line.
BOOL SetupFindNextLine(
PINFCONTEXT ContextIn, // starting context in an INF file
PINFCONTEXT ContextOut // context of the next line
);
If this function finds the next line, the return value is a non-zero value. Otherwise, the return value is zero. To get extended error information, call GetLastError.
If ContextIn.Inf references multiple INF files that have been appended together using SetupOpenAppendInfFile, this function searches across the specified section in all files referenced by the HINF to locate the next line.
Windows NT: Use version 4.0 and later.
Windows: Use Windows 95 and later.
Windows CE: Unsupported.
Header: Declared in setupapi.h.
Import Library: Link with setupapi.lib.
Overview, Functions, SetupFindFirstLine, SetupFindNextMatchLine, SetupGetLineByIndex