नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
Informs a debug engine (DE) that the program specified has been atypically terminated and that the DE should clean up all references to the program and send a program destroy event.
Syntax
HRESULT DestroyProgram(
IDebugProgram2* pProgram
);
int DestroyProgram(
IDebugProgram2 pProgram
);
Parameters
pProgram
[in] An IDebugProgram2 object that represents the program that has been atypically terminated.
Return Value
If successful, returns S_OK; otherwise, returns an error code.
Remarks
After this method is called, the DE subsequently sends an IDebugProgramDestroyEvent2 event back to the session debug manager (SDM).
This method is not implemented (returns E_NOTIMPL) if the DE runs in the same process as the program being debugged. This method is implemented only if the DE runs in the same process as the SDM.