다음을 통해 공유


IDebugProgramHost2

This interface provides host (process) information about a program.

IDebugProgramHost2 : IUnknown

Notes for Implementers

The debug engine implements this interface on the same object as the IDebugProgram2 interface to provide information about the hosting process. This is an optional interface.

Notes for Callers

Call QueryInterface on an IDebugProgram2 interface to obtain this interface.

Methods in Vtable Order

The following table shows the methods of IDebugProgramHost2.

Method

Description

IDebugProgramHost2::GetHostName

Gets the title, friendly name, or file name of the hosting process of this program.

IDebugProgramHost2::GetHostId

Gets the process identifier of the hosting process of this program.

IDebugProgramHost2::GetHostMachineName

Gets the name of the machine the hosting process of this program is running on.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See Also

Reference

IDebugProgram2

Concepts

Core Interfaces