The CreateSourceImage method enables the client to extract the files from a module to a source image on disk after a merge, taking into account changes to the module that might have been made during module configuration. For more information, see the CreateSourceImage method of the Merge object.
Syntax
C++HRESULT CreateSourceImage(
[in] BSTR Path,
[in] VARIANT_BOOL fLongFileNames,
[out] IMsmStrings **pFilePaths
);
Parameters
- Path [in]
-
The path of the root of the source image for the install.
- fLongFileNames [in]
-
fLongFileNames determines whether or not long file names are used for both path segments and final file names.
- pFilePaths [out]
-
A pointer to a memory location. This memory location receives a second pointer to a string enumerator containing a list of fully-qualified paths for the files that were extracted. The list is empty if no files can be extracted. This argument may be null. No list is provided if pFilePaths is Null.
Return Value
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Version | Mergemod.dll 2.0 or later |
---|---|
Header | Mergemod.h |
DLL | Mergemod.dll |
IID | IID_IMsmMerge2 is defined as 351A72AB-21CB-47ab-B7AA-C4D7B02EA305 |
See Also
Send comments about this topic to Microsoft
Build date: 8/13/2009
© 2009 Microsoft Corporation. All rights reserved.