IDebugControl::SetEventFilterCommand method

The SetEventFilterCommand method sets a debugger command for the engine to execute when a specified event occurs.

Syntax


HRESULT SetEventFilterCommand(
  [in] ULONG Index,
  [in] PCSTR Command
);

Parameters

Index [in]

Specifies the index of the event filter. Index can take any value between zero and one less than the total number of event filters returned by GetNumberEventFilters (inclusive). For more information about the index of the filters, see Index and Exception Code.

Command [in]

Specifies the debugger command for the engine to execute when the event occurs.

Return value

This method may also return error values. See Return Values for more details.

Return codeDescription
S_OK

The method was successful.

 

Remarks

For more information about event filters, see Event Filters.

Requirements

Target platform

Header

Dbgeng.h (include Dbgeng.h)

See also

IDebugControl
IDebugControl2
IDebugControl3
sx, sxd, sxe, sxi, sxn (Set Exceptions)
GetEventFilterCommand
SetExceptionFilterSecondCommand

 

 

Send comments about this topic to Microsoft

Show: