Binds an event to an object.

HRESULT BindHandler(
   LPCOLESTR   pstrEvent,
   IDispatch*  pdisp
);

Parameters

pstrEvent

[in] Specifies the event to handle.

pdisp

[in] Specifies the object to handle the event.

Expand imageReturn Value

Expand imageRemarks

Expand imageSee Also