{"id":"host.windows--RaiseWindowsUiAccessibilityNativeEvent","name":"RaiseWindowsUiAccessibilityNativeEvent","owner":"yeho","package":"host.windows","kind":"function","signature":"external RaiseWindowsUiAccessibilityNativeEvent(windowsUiAccessibilityBridge bridge, text nodeId, int generation, text eventName, text propertyName, text oldText, text newText, int thread) returns bool","description":"Raise windows ui accessibility native event.","context":"Connect Windows display, session, clipboard, and accessibility services.","parameters":[{"name":"bridge","type":"windowsUiAccessibilityBridge","description":"Supply bridge as windowsUiAccessibilityBridge."},{"name":"nodeId","type":"text","description":"Supply node id as text."},{"name":"generation","type":"int","description":"Supply generation as int."},{"name":"eventName","type":"text","description":"Supply event name as text."},{"name":"propertyName","type":"text","description":"Supply property name as text."},{"name":"oldText","type":"text","description":"Supply old text as text."},{"name":"newText","type":"text","description":"Supply new text as text."},{"name":"thread","type":"int","description":"Supply thread as int."}],"returns":"bool","members":[],"tags":["cpu","function","host","host.windows","source-example","windows","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/host/windows/accessibility.yh","line":694,"sha256":"c3f3b87caa19ae2afa674c185d081a7fca787b8c04ac3f02a8b298297391d4b7"},"status":"source-declared","notes":["Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup."],"examples":[{"id":"usage","title":"Use RaiseWindowsUiAccessibilityNativeEvent","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using host.windows\n\n// Connect Windows display, session, clipboard, and accessibility services.\nwindowsUiAccessibilityBridge bridge = windowsUiAccessibilityBridge(1, 1)\ntext nodeId = \"node Id\"\nint generation = 1\ntext eventName = \"event Name\"\ntext propertyName = \"property Name\"\ntext oldText = \"old Text\"\ntext newText = \"new Text\"\nint thread = 1\nbool result = RaiseWindowsUiAccessibilityNativeEvent(bridge, nodeId, generation, eventName, propertyName, oldText, newText, thread)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.host_windows__raisewindowsuiaccessibilitynativeevent\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"host.windows\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/windows\"\n","tags":["cpu","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"1935555e2a3868539bf525f868be1299d5cd53719e66bd21d7564090ac2f250a","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=host.windows--RaiseWindowsUiAccessibilityNativeEvent","json":"https://demonhunterlabs.com/reference/items/host.windows--RaiseWindowsUiAccessibilityNativeEvent.json","markdown":"https://demonhunterlabs.com/reference/text/host.windows--RaiseWindowsUiAccessibilityNativeEvent.md"}
