IXtfConsoleControlClient::GenerateStackDump Method

Generates a stack dump.

Syntax

public:
HRESULT GenerateStackDump(
         UINT32 ProcessId,
         UINT32 DumpType,
         LPCWSTR ImageName,
         LPBSTR FilePath)  

Parameters

ProcessId
Type: UINT32

Identifier of the process to create the stack dump for.

DumpType
Type: UINT32

Type of stack dump to create.

ImageName
Type: LPCWSTR

Name of the image.

FilePath
Type: LPBSTR

Pointer to a string that receives the file path to the created stack dump file.

Return value

Type: HRESULT 

HRESULT success or error code.

Requirements

Header: Declared in xtfconsolecontrol.h.

Library: Use xtfconsolecontrol.lib.

See also

Reference

IXtfConsoleControlClient Interface

IXtfConsoleControlClient Members

XtfConsoleControl