Export (0) Print
Expand All
Expand Minimize

SetupDestroyDiskSpaceList 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 SetupDestroyDiskSpaceList function destroys a disk-space list and releases the resources allocated to it.

Syntax


BOOL SetupDestroyDiskSpaceList(
  _Inout_  HDSKSPC DiskSpace
);

Parameters

DiskSpace [in, out]

Handle to the disk-space list to be deconstructed.

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 [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Setupapi.h

Library

Setupapi.lib

DLL

Setupapi.dll

See also

Overview
Functions
SetupCreateDiskSpaceList

 

 

Community Additions

ADD
Show:
© 2015 Microsoft