Share via


IExtensibilityHostEvents::Closed Event

Signaled when the host window is closed.

Note   This event has been deprecated.

Syntax

  HRESULT Closed(
  EXTENSIBILITY_EXIT_REASON  reason
);

Parameters

reason

[in]  A value from the EXTENSIBILITY_EXIT_REASON enumeration type that indicates what condition caused the window to close.

Return Value

If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.

Remarks

If the IExtensibilityHostControl::Close method is called and the host control is forcibly shut down (for instance, a modal dialog box is displayed or the host control hangs), or if the host control was launched to an executable, the IExtensibilityHostEvents::Closed event is not signaled.

Requirements

Assembly: Ehextcom.dll

Platform: Windows XP Media Center Edition 2005 and later

See Also