SINK_ENTRY_INFO

SINK_ENTRY_INFO( id, iid, dispid, fn, info)

Parameters

id

[in] Unsigned integer identifying the event source. This value must match the nID template parameter used in the related IDispEventSimpleImpl base class.

iid

[in] IID identifying the dispatch interface.

dispid

[in] DISPID identifying the specified event.

fn

[in] Name of the event handler function. This function must use the _stdcall calling convention and have the appropriate dispinterface-style signature.

info

[in] Type information for the event handler function. This type information is provided in the form of a pointer to an _ATL_FUNC_INFO structure.

Remarks

Use the SINK_ENTRY_INFO macro within an event sink map to provide the information needed by IDispEventSimpleImpl to route events to the relevant handler function.

The first four macro parameters are the same as those for the SINK_ENTRY_EX macro. The final parameter provides type information for the event.

ATL Macros, Symbols, and Global Functions

See Also

BEGIN_SINK_MAP, SINK_ENTRY, SINK_ENTRY_EX, IDispEventSimpleImpl, Supporting IDispEventImpl