IDebugControl::GetNumberEventFilters method (dbgeng.h)
The GetNumberEventFilters method returns the number of event filters currently used by the engine.
Syntax
HRESULT GetNumberEventFilters(
[out] PULONG SpecificEvents,
[out] PULONG SpecificExceptions,
[out] PULONG ArbitraryExceptions
);
Parameters
[out] 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.
[out] 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.
[out] ArbitraryExceptions
Receives the number of arbitrary exception filters currently used by the engine. These exception filters are identified by their exception code.
Return value
This method may also return error values. See Return Values for more details.
Return code | Description |
---|---|
|
The method was successful. |
Remarks
For more information about event filters, see Event Filters.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | dbgeng.h (include Dbgeng.h) |