IDebugClient5::GetNumberEventCallbacks method (dbgeng.h)
The GetNumberEventCallbacks method returns the number of event callbacks that are interested in the given events.
Syntax
HRESULT GetNumberEventCallbacks(
[in] ULONG EventFlags,
[out] PULONG Count
);
Parameters
[in] EventFlags
Specifies a set of events used to filter out some of the event callbacks; only event callbacks that have indicated an interest in one of the events in EventFlags will be counted. See DEBUG_EVENT_XXX for a list of the events.
[out] Count
Receives the number of event callbacks that are interested in at least one of the events in EventFlags.
Return value
This method may also return error values. See Return Values for more details.
Return code | Description |
---|---|
|
The method was successful. |
Remarks
Each client can have at most one event callback registered with it. When a callback is registered with a client, its IDebugEventCallbacks::GetInterestMask method is called to allow the client to specify which events it is interested in.
For more information about callbacks, see Callbacks.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | dbgeng.h (include Dbgeng.h) |