IMsmGetFiles::get_ModuleFiles Method

Windows Installer

IMsmGetFiles::get_ModuleFiles Method

The get_ModuleFiles method retrieves the ModuleFiles property of the GetFiles object. This method returns the primary keys in the File table of the currently open module. The primary keys are returned as a collection of strings. The module must be opened by a call to the OpenModule function before calling get_ModuleFiles.

Syntax

C++HRESULT get_ModuleFiles(
  [out]  IMsmStrings *Files
);

Parameters

Files [out]

Collection of IMsmStrings that are the primary keys of the File table for the currently open module.

Return Value

The method can return one of the following values.

Value Meaning
E_INVALIDARG

Invalid argument.

S_OK

The function succeeded.

E_FAIL

No module is open.

E_OUTOFMEMORY

Out of memory.

ERROR_FUNCTION_FAILED as HRESULT

The function failed.

ERROR_INVALID_HANDLE as HRESULT

The function failed.

 

Requirements

VersionMergemod.dll 1.0 or later
HeaderMergemod.h
DLLMergemod.dll
IIDIID_IMsmGetFiles is defined as 7041AE26-2D78-11D2-888A-00A0C981B015

See Also

Merge Module Automation

Send comments about this topic to Microsoft

Build date: 8/13/2009

© 2009 Microsoft Corporation. All rights reserved.