Export (0) Print
Expand All
Expand Minimize

SetupFindNextLine Function

[This function is available for use in the operating systems indicated in the Requirements section. It may be altered or unavailable in subsequent versions. SetupAPI should no longer be used for installing applications. Instead, use the Windows Installer for developing application installers. SetupAPI continues to be used for installing device drivers.]

The SetupFindNextLine returns the location of the next line in an INF file section relative to ContextIn.Line.

Syntax

BOOL SetupFindNextLine(
  __in   PINFCONTEXT ContextIn,
  __out  PINFCONTEXT ContextOut
);

Parameters

ContextIn [in]

Pointer to the INF file context retrieved by a call to the SetupFindFirstLine function.

ContextOut [out]

Pointer to a variable in which this function returns the context of the found line. ContextOut can point to ContextIn if the caller wishes.

Return Value

If this function finds the next line, the return value is a nonzero value. Otherwise, the return value is zero. To get extended error information, call GetLastError.

Remarks

If ContextIn.Line 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.

Requirements

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Header

Setupapi.h

Library

Setupapi.lib

DLL

Setupapi.dll

See Also

Overview
Functions
SetupFindFirstLine
SetupFindNextMatchLine
SetupGetLineByIndex

 

 

Build date: 8/19/2010

Community Additions

ADD
Show:
© 2014 Microsoft