MsiVerifyDiskSpace function (msiquery.h)

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

Syntax

UINT MsiVerifyDiskSpace(
  [in] MSIHANDLE hInstall
);

Parameters

[in] hInstall

Handle to the installation provided to a DLL custom action or obtained through MsiOpenPackage, MsiOpenPackageEx, or MsiOpenProduct.

Return value

This function returns UINT.

Remarks

See Calling Database Functions From Programs.

Requirements

Requirement Value
Minimum supported client Windows Installer 5.0 on Windows Server 2012, Windows 8, Windows Server 2008 R2 or Windows 7. Windows Installer 4.0 or Windows Installer 4.5 on Windows Server 2008 or Windows Vista. Windows Installer on Windows Server 2003 or Windows XP
Target Platform Windows
Header msiquery.h
Library Msi.lib
DLL Msi.dll

See also

Installer Selection Functions