Debugging Tools for Windows |
The SetEventFilterCommand and SetEventFilterCommandWide methods set a debugger command for the engine to execute when a specified event occurs.
HRESULT
IDebugControl::SetEventFilterCommand(
IN ULONG Index,
IN PCSTR Command
);
HRESULT
IDebugControl4::SetEventFilterCommandWide(
IN ULONG Index,
IN PCWSTR Command
);
#ifdef UNICODE
#define SetEventFilterCommandT SetEventFilterCommandWide
#else
#define SetEventFilterCommandT SetEventFilterCommand
#endif
This method may also return error values. See Return Values for more details.
SetEventFilterCommand is available in all versions of IDebugControl. SetEventFilterCommandWide is available in IDebugControl4 and later versions.
For more information about event filters, see Event Filters.
Headers: Defined in Dbgeng.h. Include Dbgeng.h.
sx, sxd, sxe, sxi, sxn (Set Exceptions), GetEventFilterCommand, SetExceptionFilterSecondCommand