Edit

Share via


IDebugProgramPublisher2::UnpublishProgram

Makes a program unavailable to be debugged.

Syntax

int UnpublishProgram(
   object pDebuggeeInterface
);

Parameters

pDebuggeeInterface
[in] An IUnknown interface to the program. This is the same value supplied to the PublishProgram method and uniquely identifies the program being removed (that is, it's used as a cookie).

Return Value

If successful, returns S_OK; otherwise, returns an error code.

Remarks

To make a program available to the debug engines and session debug manager, use the PublishProgram method.

See also