Debugging Tools for Windows |
The GetEventFilterCommand and GetEventFilterCommandWide methods return the debugger command that the engine will execute when a specified event occurs.
HRESULT
IDebugControl::GetEventFilterCommand(
IN ULONG Index,
OUT PSTR Buffer,
IN ULONG BufferSize,
OUT OPTIONAL PULONG CommandSize
);
HRESULT
IDebugControl4::GetEventFilterCommandWide(
IN ULONG Index,
OUT PWSTR Buffer,
IN ULONG BufferSize,
OUT OPTIONAL PULONG CommandSize
);
#ifdef UNICODE
#define GetEventFilterCommandT GetEventFilterCommandWide
#else
#define GetEventFilterCommandT GetEventFilterCommand
#endif
This method may also return error values. See Return Values for more details.
GetEventFilterCommand is available in all versions of IDebugControl. GetEventFilterCommandWide 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), SetEventFilterCommand, GetExceptionFilterSecondCommand