Disk-Space List Functions

Disk-space list functions are used to create and modify disk-space lists. These lists can be used to calculate the total disk space that is required to handle the files that will be copied or deleted during the installation procedure.

The following table lists the functions that can be used to manipulate disk-space lists. For detailed function descriptions, see the Microsoft Windows SDK documentation.

Function Description

SetupAddInstallSectionToDiskSpaceList

Searches for CopyFile and DelFile directives in a DDInstall section of an INF file, then adds the file operations specified in those sections to a disk-space list.

SetupAddSectionToDiskSpaceList

Adds to a disk-space list all the file copy or delete operations that are listed in a specified section of an INF file.

SetupAddToDiskSpaceList

Adds a single delete or copy operation to a disk-space list.

SetupCreateDiskSpaceList

Creates a disk-space list.

SetupDestroyDiskSpaceList

Destroys a disk-space list and releases the resources allocated to it.

SetupQueryDrivesInDiskSpaceList

Fills a caller-supplied buffer with a list of the drives referenced by the file operations that are listed in the disk-space list.

SetupQuerySpaceRequiredOnDrive

Examines a disk-space list to determine the space that is required to perform all the file operations that are listed for a particular drive.

SetupRemoveFromDiskSpaceList

Removes a file copy or delete operation from a disk-space list.

SetupRemoveInstallSectionFromDiskSpaceList

Searches for CopyFiles and DelFiles directives in a DDInstall section of an INF file, and removes the file operations specified in those sections from a disk-space list.

SetupRemoveSectionFromDiskSpaceList

Removes from a disk-space list the file copy or delete operations that are listed in a specified section of an INF file.