Help Center

CAxHost.OcxDispPtrmethod

Returns a reference to the control's default interface given the handle of the window that hosts it.

COMmethodCaxHost.incdocumented

Syntax

FUNCTION OcxDispPtr () AS IDispatch PTR

Return value

IDispatch. A reference to the ActiveX control's default interface.

Description

Returns a reference to the control's default interface given the handle of the window that hosts it. This is not a reference counted pointer, so you must not release it.

Reference

  • Include file CaxHost.inc
  • Defined in AfxNova/CAxHost.inc:425
  • Documented in COM/CAxHost Class.md
  • Topic: CAxHost Class