Share via


IDebugInterceptExceptionCompleteEvent2::GetInterceptCookie

Called when the processing of an intercepted exception has completed.

HRESULT GetInterceptCookie(
   UINT64* pqwCookie
);
int GetInterceptCookie(
   out ulong pqwCookie
);

Parameters

  • pqwCookie
    [out] Unique value that is associated with the exception that was intercepted.

Return Value

If successful, returns S_OK; otherwise returns error code.

Remarks

After the IDebugStackFrame3::InterceptCurrentException method has completed handling of an intercepted exception, it sends the IDebugInterceptExceptionCompleteEvent2 event. The handler can use the GetInterceptCookie method to retrieve the unique value associated with the exception (the same value passed to the InterceptCurrentException method).

See Also

Reference

IDebugStackFrame3::InterceptCurrentException

IDebugInterceptExceptionCompleteEvent2