Share via


IDebugProgramHost2

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

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

Syntax

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
GetHostName Gets the title, friendly name, or file name of the hosting process of this program.
GetHostId Gets the process identifier of the hosting process of this program.
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

Core Interfaces
IDebugProgram2