Skip to content

Latest commit

 

History

History
75 lines (61 loc) · 2.25 KB

nf-msiquery-msigetlanguage.md

File metadata and controls

75 lines (61 loc) · 2.25 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:msiquery.MsiGetLanguage
MsiGetLanguage function (msiquery.h)
The MsiGetLanguage function returns the numeric language of the installation that is currently running.
MsiGetLanguage
MsiGetLanguage function
_msi_msigetlanguage
msiquery/MsiGetLanguage
setup.msigetlanguage
setup\msigetlanguage.htm
setup
e959dbdc-141c-41be-8752-220aa8e96064
12/05/2018
MsiGetLanguage, MsiGetLanguage function, _msi_msigetlanguage, msiquery/MsiGetLanguage, setup.msigetlanguage
msiquery.h
Windows
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 or Windows Installer 4.5 on Windows Server 2008 or Windows Vista. Windows Installer on Windows Server 2003 or Windows XP
Msi.lib
Msi.dll
Windows
19H1
MsiGetLanguage
msiquery/MsiGetLanguage
c++
APIRef
kbSyntax
DllExport
Msi.dll
MsiGetLanguage

MsiGetLanguage function

-description

The MsiGetLanguage function returns the numeric language of the installation that is currently running.

-parameters

-param hInstall [in]

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

-returns

If the function succeeds, the return value is the numeric LANGID for the install.

If the function fails, the return value can be the following value.

-remarks

The MsiGetLanguage function returns 0 if an installation is not running.

-see-also

Installer State Access Functions