This topic has not yet been rated - Rate this topic

SINK_ENTRY_INFO

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.

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

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.

See Also

Composite Control Macros | ATL Macros | BEGIN_SINK_MAP | SINK_ENTRY | SINK_ENTRY_EX | IDispEventSimpleImpl | Supporting IDispEventImpl

Did you find this helpful?
(1500 characters remaining)