Requests an IDispatch pointer to the extended control that the container uses to wrap the real control.
HRESULT GetExtendedControl(
IDispatch** ppDisp //Address of output variable that receives the
// IDispatch interface pointer
);
This method supports the standard return values E_OUTOFMEMORY and E_UNEXPECTED, as well as the following:
This method gives the real control access to whatever properties and methods the container maintains in the extended control. These properties and methods would otherwise be inaccessible to the control.
The returned pointer is the responsibility of the caller, which must release it when it is no longer needed.
Windows NT: Use version 4.0 or later.
Windows: Use Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in ocidl.h.