IMsmDependency::get_Version Method

Windows Installer

IMsmDependency::get_Version Method

The get_Version method retrieves the Version property of the Dependency object. This method returns the version of the required module in the form of a BSTR.

Syntax

C++HRESULT get_Version(
  [out]  BSTR *Version
);

Parameters

Version [out]

A pointer to a location in memory that is filled in with a BSTR value.

Return Value

The method can return one of the following values.

Value Meaning
E_INVALIDARG

Version is null.

S_OK

The function succeeded.

 

Remarks

The client is responsible for freeing the resulting string using SysFreeString.

Requirements

VersionMergemod.dll 1.0 or later
HeaderMergemod.h
DLLMergemod.dll
IIDIID_IMsmDependency is defined as 0ADDA82D-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.