MsiVerifyDiskSpace

[This is preliminary documentation and subject to change.]

The MsiVerifyDiskSpace function checks to see if sufficient disk space is present for the current installation.

UINT MsiVerifyDiskSpace(
  MSIHANDLE hInstall    // installer handle
);
 

Parameters

hInstall
Handle to the installation.

Return Values

ERROR_DISK_FULL
The disk is full.
ERROR_INVALID_HANDLE
An invalid or inactive handle was supplied.
ERROR_INVALID_HANDLE_STATE
The handle is in an invalid state.
ERROR_SUCCESS
The function succeeded.

QuickInfo

  Windows NT: Requires version 4.0 or later. Available as a redistributable for Windows NT 4.0.
  Windows: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Windows CE: Unsupported.
  Header: Declared in msiquery.h.
  Import Library: Use msi.lib.

See Also

Database Access Reference, Installer Selection Functions