Returns an event interface that wraps a given IDispatch object.
HRESULT CreateSimpleConnectionPoint( IDispatch* pdisp ISimpleConnectionPoint** ppscp );
- pdisp
[in] The IDispatch object to wrap.
- ppscp
[out] The event interface that wraps pdisp.
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Value | Description |
---|---|
S_OK | The method succeeded. |
Returns an event interface that wraps the given IDispatch (see ISimpleConnectionPoint Interface).