नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
Gets the pending breakpoint that is being bound.
Syntax
HRESULT GetPendingBreakpoint(
IDebugPendingBreakpoint2** ppPendingBP
);
int GetPendingBreakpoint(
out IDebugPendingBreakpoint2 ppPendingBP
);
Parameters
ppPendingBP
[out] Returns the IDebugPendingBreakpoint2 object that represents the pending breakpoint being bound.
Return Value
If successful, returns S_OK; otherwise, returns an error code.
Example
The following example shows how to implement this method for a CBreakpointSetDebugEventBase object that exposes the IDebugBreakpointBoundEvent2 interface.
STDMETHODIMP CBreakpointSetDebugEventBase::GetPendingBreakpoint(
IDebugPendingBreakpoint2 **ppPendingBP)
{
HRESULT hRes = E_FAIL;
if ( ppPendingBP )
{
if ( m_pPendingBP )
{
*ppPendingBP = m_pPendingBP;
m_pPendingBP->AddRef();
hRes = S_OK;
}
else
hRes = E_FAIL;
}
else
hRes = E_INVALIDARG;
return ( hRes );
}