SetupGetLineByIndex
[New
- Windows NT]
The SetupGetLineByIndex
function locates a line by its index value in the specified section in the INF
file.
BOOL SetupGetLineByIndex(
HINF InfHandle, |
// handle to the
INF file |
PCTSTR Section, |
// section that
contains the line |
DWORD Index, |
// the index of
the line to find |
PINFCONTEXT Context |
// context that
specifies the found line |
); |
|
Parameters
InfHandle
Handle of the
INF file.
Section
Pointer to a
null-terminated string specifying the section of the INF file to search.
Index
Specifies the
index of the line to be located. The total number of lines in a particular
section can be found with a call to SetupGetLineCount
Context
Points to a
caller-supplied variable in which the function returns the context information
for the found line.
Return Values
If the
function succeeds, the return value is TRUE. If the function fails, the return
value is FALSE.
Remarks
If InfHandle
references multiple INF files that have been appended together using SetupOpenAppendInfFile
See Also