IDebugClient2::AddDumpInformationFile method (dbgeng.h)

The AddDumpInformationFile method registers additional files containing supporting information that will be used when opening a dump file. The Unicode version of this method is AddDumpInformationFileWide.

Syntax

HRESULT AddDumpInformationFile(
  [in] PCSTR InfoFile,
  [in] ULONG Type
);

Parameters

[in] InfoFile

Specifies the name of the file containing the supporting information.

[in] Type

Specifies the type of the file InfoFile. Currently, only files containing paging file information are supported, and Type must be set to DEBUG_DUMP_FILE_PAGE_FILE_DUMP.

Return value

This method may also return error values. See Return Values for more details.

Return code Description
S_OK
The method was successful.

Remarks

If supporting information is to be used when opening a dump file, this method or AddDumpInformationFileWide must be called before OpenDumpFile is called. If a session has already started, this method cannot be used.

For more information about crash dump files, see Dump File Targets.

Requirements

Requirement Value
Target Platform Desktop
Header dbgeng.h (include Dbgeng.h)

See also

AddDumpInformationFileWide

GetDumpFile

GetNumberDumpFiles

IDebugClient2

IDebugClient3

IDebugClient4

IDebugClient5

OpenDumpFile

OpenDumpFileWide