UnAllocDiskSpace

3.1

  #include <stress.h>    

  void UnAllocDiskSpace(drive)    
  UINT drive;    

The UnAllocDiskSpace function deletes the STRESS.EAT file from the root directory of the specified drive. This frees the disk space previously consumed by the AllocDiskSpace function.

Parameters

drive

Specifies the disk partition on which to delete the STRESS.EAT file. This can be one of the following values:

Value Meaning

EDS_WIN Deletes the file on the Windows partition.
EDS_CUR Deletes the file on the current partition.
EDS_TEMP Deletes the file on the partition that contains the TEMP directory.

Return Value

This function does not return a value.

See Also

AllocDiskSpace