Returns an event interface that wraps a given IDispatch object.
Syntax
HRESULT CreateSimpleConnectionPoint(
IDispatch* pdisp
ISimpleConnectionPoint** ppscp
);
Parameters
pdisp
[in] The IDispatch object to wrap.
ppscp
[out] The event interface that wraps pdisp.
Return Value
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. |
Remarks
Returns an event interface that wraps the given IDispatch (see ISimpleConnectionPoint Interface).