Bemærk
Adgang til denne side kræver godkendelse. Du kan prøve at logge på eller ændre mapper.
Adgang til denne side kræver godkendelse. Du kan prøve at ændre mapper.
Gets the breakpoint that became unbound.
Syntax
Parameters
ppBP
[out] Returns an IDebugBoundBreakpoint2 object that represents the breakpoint that became unbound.
Return Value
If successful, returns S_OK; otherwise, returns an error code.
Example
The following example shows how to implement this method for a CBreakpointUnboundDebugEventBase object that exposes the IDebugBreakpointUnboundEvent2 interface.
STDMETHODIMP CBreakpointUnboundDebugEventBase::GetBreakpoint(
IDebugBoundBreakpoint2 **ppbp)
{
HRESULT hRes = E_FAIL;
if ( ppbp )
{
if ( m_pbp )
{
IDebugBoundBreakpoint2 *pibp;
hRes = m_pbp->QueryInterface(IID_IDebugBoundBreakpoint2, (void **) & pibp);
if ( S_OK == hRes )
*ppbp = pibp;
}
else
hRes = E_FAIL;
}
else
hRes = E_INVALIDARG;
return ( hRes );
}