다음을 통해 공유


IUIAutomationEventHandler::HandleAutomationEvent 메서드(uiautomationclient.h)

Microsoft UI 자동화 이벤트를 처리합니다.

구문

HRESULT HandleAutomationEvent(
  [in] IUIAutomationElement *sender,
  [in] EVENTID              eventId
);

매개 변수

[in] sender

형식: IUIAutomationElement*

이벤트를 발생시킨 요소에 대한 포인터입니다.

[in] eventId

형식: EVENTID

이벤트 식별자입니다. 이벤트 식별자 목록은 이벤트 식별자를 참조하세요.

반환 값

형식: HRESULT

메서드가 성공하면 S_OK를 반환하고, 그러지 않으면 HRESULT 오류 코드를 반환합니다.

설명

이 메서드는 AddAutomationEventHandler를 사용하여 구독한 이벤트를 처리하기 위해 애플리케이션에 의해 구현됩니다.

이 메서드 내에서 이벤트 처리기를 조정하는 것은 지원되지 않습니다.

요구 사항

요구 사항
지원되는 최소 클라이언트 Windows 7, Windows Vista SP2 및 Windows Vista용 플랫폼 업데이트, WINDOWS XP SP3 및 Windows Vista용 플랫폼 업데이트 [데스크톱 앱만 해당]
지원되는 최소 서버 Windows Server 2008 R2, Windows Server 2008 SP2 및 Windows Server 2008용 플랫폼 업데이트, Windows Server 2003 SP2 및 Windows Server 2008용 플랫폼 업데이트 [데스크톱 앱만 해당]
대상 플랫폼 Windows
헤더 uiautomationclient.h(UIAutomation.h 포함)

추가 정보

IUIAutomationEventHandler