Exemplo n.º 1
0
        internal static IRawElementProviderSimple UiaHostProviderFromHwnd(IntPtr hwnd)
        {
            IRawElementProviderSimple result;

            UiaCoreProviderApi.CheckError(UiaCoreProviderApi.RawUiaHostProviderFromHwnd(hwnd, out result));
            return(result);
        }
Exemplo n.º 2
0
 internal static bool UiaClientsAreListening()
 {
     return(UiaCoreProviderApi.RawUiaClientsAreListening());
 }
Exemplo n.º 3
0
 internal static void UiaRaiseAsyncContentLoadedEvent(IRawElementProviderSimple provider, AsyncContentLoadedState asyncContentLoadedState, double PercentComplete)
 {
     UiaCoreProviderApi.CheckError(UiaCoreProviderApi.RawUiaRaiseAsyncContentLoadedEvent(provider, asyncContentLoadedState, PercentComplete));
 }
Exemplo n.º 4
0
 internal static void UiaRaiseStructureChangedEvent(IRawElementProviderSimple provider, StructureChangeType structureChangeType, int[] runtimeId)
 {
     UiaCoreProviderApi.CheckError(UiaCoreProviderApi.RawUiaRaiseStructureChangedEvent(provider, structureChangeType, runtimeId, (runtimeId == null) ? 0 : runtimeId.Length));
 }
Exemplo n.º 5
0
 internal static void UiaRaiseAutomationEvent(IRawElementProviderSimple provider, int eventId)
 {
     UiaCoreProviderApi.CheckError(UiaCoreProviderApi.RawUiaRaiseAutomationEvent(provider, eventId));
 }
Exemplo n.º 6
0
 internal static void UiaRaiseAutomationPropertyChangedEvent(IRawElementProviderSimple provider, int propertyId, object oldValue, object newValue)
 {
     UiaCoreProviderApi.CheckError(UiaCoreProviderApi.RawUiaRaiseAutomationPropertyChangedEvent(provider, propertyId, oldValue, newValue));
 }
Exemplo n.º 7
0
 internal static IntPtr UiaReturnRawElementProvider(IntPtr hwnd, IntPtr wParam, IntPtr lParam, IRawElementProviderSimple el)
 {
     return(UiaCoreProviderApi.RawUiaReturnRawElementProvider(hwnd, wParam, lParam, el));
 }