SetupDestroyDiskSpaceList

[New for Windows NT 4.0 Service Pack 3.]

The SetupDestroyDiskSpaceList function destroys a disk-space list and releases the resources allocated to it.

BOOL SetupDestroyDiskSpaceList(
  HDSKSPC DiskSpace  // handle to the disk-space list
);
 

Parameters

DiskSpace
Specifies a handle to the disk-space list to deconstruct.

Return Values

If the function succeeds, the return value is a non-zero value.

If the function fails, the return value is zero. To get extended error information, call GetLastError.

QuickInfo

  Windows NT: Use version 4.0 SP3 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, SetupCreateDiskSpaceList