SetupGetFieldCount 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 SetupGetFieldCount function retrieves the number of fields in the specified line in an INF file.

Syntax


DWORD SetupGetFieldCount(
  _In_ PINFCONTEXT Context
);

Parameters

Context [in]

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

Return value

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

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Setupapi.h

Library

Setupapi.lib

DLL

Setupapi.dll

See also

Overview
Functions
SetupGetLineCount

 

 

Show: