[This is preliminary documentation and subject to change.]
The MsiGetLanguage function returns the numeric language of the installation that is currently running.
LANGID MsiGetLanguage(
MSIHANDLE hInstall // installer handle
);
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.
The MsiGetLanguage function returns 0 if an installation is not running.
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.
Database Access Reference, Installer State Access Functions