IMsmMerge::get_Dependencies Method

Windows Installer

IMsmMerge::get_Dependencies Method

The get_Dependencies method retrieves the Dependencies property of the Merge object.

IMsmMerge2::get_Dependencies    Mergemod.dll version 2.0 or later.
IMsmMerge::get_Dependencies      All Mergemod.dll versions.

Syntax

C++HRESULT get_Dependencies(
    IMsmDependencies **Dependencies
);

Parameters

Dependencies

Pointer to a memory location to be filled with a pointer to a collection of unsatisfied dependencies for the current database. If there is an error, the memory location pointed to by Dependencies is set to null.

Return Value

The get_Dependencies function returns the following values.

Value Meaning
E_FAIL

There was no database open.

E_INVALIDARG

The Dependencies pointer is null.

E_OUTOFMEMORY

The system ran out of memory.

E_UNEXPECTED

Unable to verify dependencies due to internal error.

S_OK

The function succeeded.

 

Remarks

A module does not need to be open to retrieve dependency information. The client is responsible for releasing the interface returned by this function.

Requirements

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