SetupFindNextMatchLine
[New
- Windows NT]
The SetupFindNextMatchLine
function returns the location of the next line in an INF file relative to ContextIn.Line
that matches a specified key.
BOOL SetupFindNextMatchLine(
PINFCONTEXT ContextIn, |
// starting
context in an INF file |
PCTSTR Key, |
// optional, key
to match |
PINFCONTEXT ContextOut |
// context of
the the found line |
); |
|
Parameters
ContextIn
Specifies a
pointer to an INF file context, as retrieved by a call to the SetupFindFirstLine
Key
If this
optional parameter is specified, it supplies a key to match. If Key is
not specified, the SetupFindNextMatchLine function is equivalent to the SetupFindNextLine function.
ContextOut
Pointer to a
caller-supplied variable in which this function returns the context of the
found line. ContextOut can point to ContextIn if the caller
wishes.
Return Values
The function
returns TRUE if it finds a matching line. Otherwise, the return value is FALSE.
Remarks
If ContextIn.Inf
references multiple INF files that have been appended together using SetupOpenAppendInfFile
See Also