Compartir a través de


IeXdi2CodeBp::SetState (Windows CE 5.0)

Send Feedback

This method enables or disables a breakpoint.

If necessary, this method also frees a breakpoint-triggering resource to disable a requested breakpoint, or re-allocates a breakpoint-triggering resource to enable a requested breakpoint.

HRESULT SetState(BOOL fEnabled,BOOL fResetBypassedOccurences);

Parameters

  • fEnabled
    [in] If TRUE, this Boolean value indicates a breakpoint is enabled.
  • fResetBypassedOccurences
    [in] If TRUE, this value resets to 0 the number of bypasses that have occurred related to this breakpoint.

Return Values

The following table shows return values for this method.

Value Description
S_OK Indicates the function was successful.
E_FAIL Indicates an unspecified failure.
E_INVALIDARG Indicates one or more invalid arguments.
EXDI_E_COMMUNICATION Indicates a communication error between host driver and debugging target.

Requirements

OS Version: Windows CE 5.0 and later.
Header: exdi2.h.
Link Library: ole32.lib, oleaut32.lib.

See Also

IeXDI2 Interfaces

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.