SetupGetFieldCount

The SetupGetFieldCount function retrieves the number of fields in the specified line in an INF file.

DWORD SetupGetFieldCount(
  PINFCONTEXT Context  //specifies the line to count fields in
);
 

Parameters

Context
Pointer to the context for a line in an INF file.

Return Values

This function returns the number of fields on the line. If Context is invalid, 0 is returned. To get extended error information, call GetLastError.

QuickInfo

  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.

See Also

Overview, Functions, SetupGetLineCount