다음을 통해 공유


IDebugProgramPublisher2::UnpublishProgram

Makes a program unavailable to be debugged.

HRESULT UnpublishProgram(
   IUnknown* pDebuggeeInterface
);
int UnpublishProgram(
   object pDebuggeeInterface
);

Parameters

  • pDebuggeeInterface
    [in] An IUnknown interface to the program. This is the same value supplied to the IDebugProgramPublisher2::PublishProgram method and uniquely identifies the program being removed (that is, it is 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 IDebugProgramPublisher2::PublishProgram method.

See Also

Reference

IDebugProgramPublisher2

IDebugProgramPublisher2::PublishProgram