Share via


IUIAutomationProxyFactoryEntry::NeedsAdviseEvents Property

Sets or retrieves a value that specifies whether the proxy must be notified when an application has registered for events.

Syntax

HRESULT IUIAutomationProxyFactoryEntry::get_NeedsAdviseEvents(BOOL *adviseEvents);
HRESULT IUIAutomationProxyFactoryEntry::put_NeedsAdviseEvents(BOOL adviseEvents);

Parameters

  • adviseEvents
    The address of a variable that receives the value of the property: TRUE if the proxy needs notification, otherwise FALSE.
  • adviseEvents
    The new value for the property: TRUE if the proxy needs notification, otherwise FALSE.

Return Value

Returns S_OK if successful, or an error value otherwise.