Export (0) Print
Expand All
Expand Minimize

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 2000 Professional

Minimum supported server

Windows 2000 Server

Header

Setupapi.h

Library

Setupapi.lib

DLL

Setupapi.dll

See Also

Overview
Functions
SetupGetLineCount

 

 

Build date: 8/19/2010

Community Additions

ADD
Show:
© 2014 Microsoft