[New for Windows NT 4.0 Service Pack 3.]
The SetupRemoveFromDiskSpaceList function removes a file delete or copy operation from a disk-space list.
BOOL SetupRemoveFromDiskSpaceList(
HDSKSPC DiskSpace, // handle to the disk-space list
PCTSTR TargetFilespec, // specifies the path and filename
UINT Operation, // specifies the type of file operation
PVOID Reserved1, // must be zero
UINT Reserved2 // must be zero
);
Value | Meaning |
---|---|
FILEOP_DELETE | A file delete operation. |
FILEOP_COPY | A file copy operation. |
If the file was not in the list, the SetupRemoveFromDiskSpaceList function returns a non-zero value and GetLastError returns ERROR_INVALID_DRIVE or ERROR_INVALID_NAME. If the file was in the list then upon success the routine returns a non-zero value and GetLastError returns NO_ERROR.
If the routine fails for some other reason, it returns zero and GetLastError returns extended error information.
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.
Overview, Functions, SetupRemoveSectionFromDiskSpaceList, SetupRemoveInstallSectionFromDiskSpaceList, SetupAddToDiskSpaceList