Share via


UiaRaiseNotificationEvent 함수(uiautomationcoreapi.h)

공급자가 알림 이벤트를 시작하기 위해 호출합니다.

구문

HRESULT UiaRaiseNotificationEvent(
  [in]           IRawElementProviderSimple *provider,
                 NotificationKind          notificationKind,
                 NotificationProcessing    notificationProcessing,
  [in, optional] BSTR                      displayString,
  [in]           BSTR                      activityId
);

매개 변수

[in] provider

알림 이벤트가 발생한 공급자 노드입니다.

notificationKind

NotificationKind 열거형 값인 알림 유형입니다.

notificationProcessing

NotificationProcessing 열거형 값으로 알림을 처리하는 기본 방법입니다.

[in, optional] displayString

알림 메시지에 표시할 문자열입니다.

[in] activityId

작업 또는 작업 그룹을 식별하는 지역화되지 않은 고유한 문자열입니다. 이를 사용하여 이벤트 처리기에 추가 정보를 전달합니다.

반환 값

이 함수가 성공하면 S_OK 반환합니다. 그렇지 않으면 HRESULT 오류 코드를 반환합니다.

설명

창에서 WS_POPUP 스타일을 사용하는 경우 창 컨트롤 패턴도 구현하고 WM_GETOBJECT 메시지를 처리해야 합니다(자세한 내용은 Server-Side UI 자동화 공급자를 노출하는 방법 참조).

요구 사항

요구 사항
지원되는 최소 클라이언트 Windows 10 버전 1709 [데스크톱 앱 | UWP 앱]
지원되는 최소 서버 Windows Server 2016 [데스크톱 앱 | UWP 앱]
대상 플랫폼 Windows
헤더 uiautomationcoreapi.h(UIAutomation.h 포함)
라이브러리 Uiautomationcore.lib
DLL Uiautomationcore.dll