{"id":"runtime--HostAccessibility.RaiseEvent","name":"HostAccessibility.RaiseEvent","owner":"yeho","package":"runtime.HostAccessibility","kind":"builtin","signature":"HostAccessibility.RaiseEvent(int window, int native_identity, int generation, int event_kind, int property_identity, text old_text, text new_text) -> bool","description":"Raise event through the HostAccessibility runtime.","context":"Built into Yeho; no package import is needed. Native services require an admitted host and the correct resource lifecycle.","parameters":[{"name":"window","type":"int","description":"Supply window as int.","rule":"Int"},{"name":"native_identity","type":"int","description":"Supply native identity as int.","rule":"Int"},{"name":"generation","type":"int","description":"Supply generation as int.","rule":"Int"},{"name":"event_kind","type":"int","description":"Supply event kind as int.","rule":"Int"},{"name":"property_identity","type":"int","description":"Supply property identity as int.","rule":"Int"},{"name":"old_text","type":"text","description":"Supply old text as text.","rule":"Text"},{"name":"new_text","type":"text","description":"Supply new text as text.","rule":"Text"}],"returns":"bool","members":[],"tags":["builtin","cpu","hostaccessibility","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"src/compiler/common/intrinsic_registry.cpp","line":1163,"sha256":"14d29529d2d3c0e2b587f83c7f125b99ada142ed7ae28612701ea6cb9174ac65"},"status":"registered-intrinsic","notes":["The example checks the call shape. Opening windows, recording audio, changing files, network operations, and process operations have real effects when run. Follow the corresponding package lifecycle before using live resources."],"examples":[{"id":"usage","title":"Call HostAccessibility.RaiseEvent","description":"A complete typed caller with illustrative arguments. Native operations need the corresponding host and resources.","code":"int window = 1\nint native_identity = 1\nint generation = 1\nint event_kind = 1\nint property_identity = 1\ntext old_text = \"old text\"\ntext new_text = \"new text\"\nbool result = HostAccessibility.RaiseEvent(window, native_identity, generation, event_kind, property_identity, old_text, new_text)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.runtime__hostaccessibility_raiseevent\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n","tags":["cpu","builtin"],"run":"cpu-oracle","verification":"type checked","sha256":"b5e0b9caf7c846540de46bc1f0b3b88de1cb3b45d3f6fefbe2e1a0c63209e779","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=runtime--HostAccessibility.RaiseEvent","json":"https://demonhunterlabs.com/reference/items/runtime--HostAccessibility.RaiseEvent.json","markdown":"https://demonhunterlabs.com/reference/text/runtime--HostAccessibility.RaiseEvent.md"}
