GetNumberEventFilters
The GetNumberEventFilters method returns the number of event filters currently used by the engine.
HRESULT
IDebugControl::GetNumberEventFilters(
OUT PULONG SpecificEvents,
OUT PULONG SpecificExceptions,
OUT PULONG ArbitraryExceptions
);
Parameters
- SpecificEvents
- Receives the number of events that can be controlled using the specific event filters. These events are enumerated using some of the DEBUG_FILTER_XXX constants.
- SpecificExceptions
- Receives the number of exceptions that can be controlled using the specific exception filters. The first specific exception filter is the default exception filter. The exceptions controlled by the other specific exception filters will always have their own filter and will not inherit their behavior from the default specific exception filter. These exception filters are identified by their exception code. See Specific Exceptions for a list of the specific exception filters.
- ArbitraryExceptions
- Receives the number of arbitrary exception filters currently used by the engine. These exception filters are identified by their exception code.
Return Value
- S_OK
- The method was successful.
This method may also return error values. See Return Values for more details.
Interface Version
GetNumberEventFilters is available in all versions of IDebugControl.
Comments
For more information about event filters, see Event Filters.
Requirements
Headers: Defined in Dbgeng.h. Include Dbgeng.h.
Build machine: CAPEBUILD