internal static IRawElementProviderSimple UiaHostProviderFromHwnd(IntPtr hwnd) { IRawElementProviderSimple result; UiaCoreProviderApi.CheckError(UiaCoreProviderApi.RawUiaHostProviderFromHwnd(hwnd, out result)); return(result); }
internal static void UiaRaiseAsyncContentLoadedEvent(IRawElementProviderSimple provider, AsyncContentLoadedState asyncContentLoadedState, double PercentComplete) { UiaCoreProviderApi.CheckError(UiaCoreProviderApi.RawUiaRaiseAsyncContentLoadedEvent(provider, asyncContentLoadedState, PercentComplete)); }
internal static void UiaRaiseStructureChangedEvent(IRawElementProviderSimple provider, StructureChangeType structureChangeType, int[] runtimeId) { UiaCoreProviderApi.CheckError(UiaCoreProviderApi.RawUiaRaiseStructureChangedEvent(provider, structureChangeType, runtimeId, (runtimeId == null) ? 0 : runtimeId.Length)); }
internal static void UiaRaiseAutomationEvent(IRawElementProviderSimple provider, int eventId) { UiaCoreProviderApi.CheckError(UiaCoreProviderApi.RawUiaRaiseAutomationEvent(provider, eventId)); }
internal static void UiaRaiseAutomationPropertyChangedEvent(IRawElementProviderSimple provider, int propertyId, object oldValue, object newValue) { UiaCoreProviderApi.CheckError(UiaCoreProviderApi.RawUiaRaiseAutomationPropertyChangedEvent(provider, propertyId, oldValue, newValue)); }