IMsmError::get_Language Method

Windows Installer

IMsmError::get_Language Method

The get_Language method retrieves the Language property of the Error object. This function returns the LANGID of the error.

Syntax

C++HRESULT get_Language(
  [out]  short *Language
);

Parameters

Language [out]

A pointer to a location in memory that receives the language value causing this error.

Return Value

The method can return one of the following values.

Value Meaning
E_INVALIDARG

Language is null.

S_OK

The function succeeded.

 

Remarks

The function returns -1 unless the error is of type msmErrorLanguageUnsupported or msmErrorLanguageFailed. You can determine the type of error by calling IMsmError::get_Type.

Requirements

VersionMergemod.dll 1.0 or later
HeaderMergemod.h
DLLMergemod.dll
IIDIID_IMsmError is defined as 0ADDA828-2C26-11D2-AD65-00A0C9AF11A6

See Also

Merge Module Automation

Send comments about this topic to Microsoft

Build date: 8/13/2009

© 2009 Microsoft Corporation. All rights reserved.