Export (0) Print
Expand All
Expand Minimize

SetupFreeSourceList 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 SetupFreeSourceList function frees the system resources allocated to a source list.

Syntax

BOOL SetupFreeSourceList(
  __inout  PCTSTR **List,
  __in     UINT Count
);

Parameters

List [in, out]

Pointer to an array of sources from SetupQuerySourceList. The null-terminated string should not exceed the size of the destination buffer. When the function returns, this pointer is set to NULL.

Count [in]

Number of sources in the list.

Return Value

If the function succeeds, the return value is a nonzero value.

If the function fails, the return value is zero. 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

Unicode and ANSI names

SetupFreeSourceListW (Unicode) and SetupFreeSourceListA (ANSI)

See Also

Overview
Functions
SetupCancelTemporarySourceList
SetupSetSourceList

 

 

Build date: 8/19/2010

Community Additions

ADD
Show:
© 2014 Microsoft