IDebugControl::GetNumberEventFilters method

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

SpecificEvents [out]

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 [out]

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 [out]

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 codeDescription
S_OK

The method was successful.

 

Remarks

For more information about event filters, see Event Filters.

Requirements

Target platform

Desktop

Header

Dbgeng.h (include Dbgeng.h)

 

 

Send comments about this topic to Microsoft

Show: