Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
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 );
}