host.windows · class ·

windowsUiAccessibilityBridge

A windows ui accessibility bridge record carrying window, ownerThread, state, diagnostic, revision, and related state.

classcpuhosthost.windowsmethodsource-examplewindowsyeho

Connect Windows display, session, clipboard, and accessibility services.

external class windowsUiAccessibilityBridge

Status: source-declared

Fields and methods (73)
int window
Stores window as int.
int ownerThread
Stores owner thread as int.
text state
Stores state as text.
text diagnostic
Stores diagnostic as text.
int revision
Stores revision as int.
bool batching
Stores batching as bool.
bool dispatching
Stores dispatching as bool.
list of text nodeIds
Stores node ids as list of text.
list of int nativeIds
Stores native ids as list of int.
int nextNativeId
Stores next native id as int.
list of text knownNodeIds
Stores known node ids as list of text.
list of int knownNativeIds
Stores known native ids as list of int.
list of int knownGenerations
Stores known generations as list of int.
list of int generations
Stores generations as list of int.
list of text parentIds
Stores parent ids as list of text.
list of text roles
Stores roles as list of text.
list of text names
Stores names as list of text.
list of text descriptions
Stores descriptions as list of text.
list of text values
Stores values as list of text.
list of text states
Stores states as list of text.
list of text actions
Stores actions as list of text.
list of int xs
Stores xs as list of int.
list of int ys
Stores ys as list of int.
list of int widths
Stores widths as list of int.
list of int heights
Stores heights as list of int.
list of bool interactive
Stores interactive as list of bool.
list of bool focusable
Stores focusable as list of bool.
list of bool enabled
Stores enabled as list of bool.
list of text stagedNodeIds
Stores staged node ids as list of text.
list of int stagedNativeIds
Stores staged native ids as list of int.
list of int stagedGenerations
Stores staged generations as list of int.
list of text stagedParentIds
Stores staged parent ids as list of text.
list of text stagedRoles
Stores staged roles as list of text.
list of text stagedNames
Stores staged names as list of text.
list of text stagedDescriptions
Stores staged descriptions as list of text.
list of text stagedValues
Stores staged values as list of text.
list of text stagedStates
Stores staged states as list of text.
list of text stagedActions
Stores staged actions as list of text.
list of int stagedXs
Stores staged xs as list of int.
list of int stagedYs
Stores staged ys as list of int.
list of int stagedWidths
Stores staged widths as list of int.
list of int stagedHeights
Stores staged heights as list of int.
list of bool stagedInteractive
Stores staged interactive as list of bool.
list of bool stagedFocusable
Stores staged focusable as list of bool.
list of bool stagedEnabled
Stores staged enabled as list of bool.
text focusedNodeId
Stores focused node id as text.
int focusedGeneration
Stores focused generation as int.
int focusSequence
Stores focus sequence as int.
int actionSequence
Stores action sequence as int.
text actionNodeId
Stores action node id as text.
int actionGeneration
Stores action generation as int.
text action
Stores action as text.
text actionValue
Stores action value as text.
int nativeActionSequence
Stores native action sequence as int.
int nativeActionCount
Stores native action count as int.
windowsUiAccessibilityBridge(int window, int ownerThread)
Windows ui accessibility bridge.
Reject(text operation, text reason) returns bool
Reject. Complete example
Ready(int thread, text operation) returns bool
Ready. Complete example
InitializeStaging()
Initialize staging. Complete example
ClearStaging()
Clear staging. Complete example
CommitStagingToActive()
Commit staging to active. Complete example
IndexOf(text nodeId) returns int
Index of. Complete example
StagedIndexOf(text nodeId) returns int
Staged index of. Complete example
KnownIndexOf(text nodeId) returns int
Known index of. Complete example
Initialize(bool available, int thread) returns bool
Initialize. Complete example
BeginBatch(int thread) returns bool
Begin batch. Complete example
PublishNode(text nodeId, int generation, text parentId, text role, text name, text description, text value, text nodeStates, text nodeActions, int x, int y, int width, int height, bool isInteractive, bool isFocusable, bool isEnabled, int thread) returns bool
Publish node. Complete example
CommitBatch(int thread) returns bool
Commit batch. Complete example
SetFocus(text nodeId, int generation, int thread) returns bool
Set focus. Complete example
RouteAction(text nodeId, int generation, text requestedAction, bool simulateReentrancy, int thread) returns bool
Route action. Complete example
LoseProvider(text reason, int thread) returns bool
Lose provider. Complete example
TearDown(int thread) returns bool
Tear down. Complete example
Describe() returns text
Describe. Complete example

Use windowsUiAccessibilityBridge

A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.

cpu · source-example · type checked

using host.windows

// Connect Windows display, session, clipboard, and accessibility services.
windowsUiAccessibilityBridge sample = windowsUiAccessibilityBridge(1, 1)
Console.Log(Text.From(sample.window))
project.mech
manifestVersion = "2"
package = "api.example.host_windows__windowsuiaccessibilitybridge"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "host.windows"
version = "0.1.0"
path = "../../../yeho/packages/host/windows"

windowsUiAccessibilityBridge.Reject

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

cpu · method · source-example · type checked

using host.windows

// Reject.
windowsUiAccessibilityBridge instance = windowsUiAccessibilityBridge(1, 1)
text argument_operation = "argument operation"
text argument_reason = "argument reason"
bool result = instance.Reject(argument_operation, argument_reason)
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.host_windows__windowsuiaccessibilitybridge"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "host.windows"
version = "0.1.0"
path = "../../../yeho/packages/host/windows"

windowsUiAccessibilityBridge.Ready

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

cpu · method · source-example · type checked

using host.windows

// Ready.
windowsUiAccessibilityBridge instance = windowsUiAccessibilityBridge(1, 1)
int argument_thread = 1
text argument_operation = "argument operation"
bool result = instance.Ready(argument_thread, argument_operation)
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.host_windows__windowsuiaccessibilitybridge"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "host.windows"
version = "0.1.0"
path = "../../../yeho/packages/host/windows"

windowsUiAccessibilityBridge.InitializeStaging

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

cpu · method · source-example · type checked

using host.windows

// Initialize staging.
windowsUiAccessibilityBridge instance = windowsUiAccessibilityBridge(1, 1)
instance.InitializeStaging()
Console.Log("InitializeStaging completed")
project.mech
manifestVersion = "2"
package = "api.example.host_windows__windowsuiaccessibilitybridge"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "host.windows"
version = "0.1.0"
path = "../../../yeho/packages/host/windows"

windowsUiAccessibilityBridge.ClearStaging

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

cpu · method · source-example · type checked

using host.windows

// Clear staging.
windowsUiAccessibilityBridge instance = windowsUiAccessibilityBridge(1, 1)
instance.ClearStaging()
Console.Log("ClearStaging completed")
project.mech
manifestVersion = "2"
package = "api.example.host_windows__windowsuiaccessibilitybridge"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "host.windows"
version = "0.1.0"
path = "../../../yeho/packages/host/windows"

windowsUiAccessibilityBridge.CommitStagingToActive

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

cpu · method · source-example · type checked

using host.windows

// Commit staging to active.
windowsUiAccessibilityBridge instance = windowsUiAccessibilityBridge(1, 1)
instance.CommitStagingToActive()
Console.Log("CommitStagingToActive completed")
project.mech
manifestVersion = "2"
package = "api.example.host_windows__windowsuiaccessibilitybridge"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "host.windows"
version = "0.1.0"
path = "../../../yeho/packages/host/windows"

windowsUiAccessibilityBridge.IndexOf

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

cpu · method · source-example · type checked

using host.windows

// Index of.
windowsUiAccessibilityBridge instance = windowsUiAccessibilityBridge(1, 1)
text argument_nodeId = "argument node Id"
int result = instance.IndexOf(argument_nodeId)
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.host_windows__windowsuiaccessibilitybridge"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "host.windows"
version = "0.1.0"
path = "../../../yeho/packages/host/windows"

windowsUiAccessibilityBridge.StagedIndexOf

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

cpu · method · source-example · type checked

using host.windows

// Staged index of.
windowsUiAccessibilityBridge instance = windowsUiAccessibilityBridge(1, 1)
text argument_nodeId = "argument node Id"
int result = instance.StagedIndexOf(argument_nodeId)
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.host_windows__windowsuiaccessibilitybridge"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "host.windows"
version = "0.1.0"
path = "../../../yeho/packages/host/windows"

windowsUiAccessibilityBridge.KnownIndexOf

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

cpu · method · source-example · type checked

using host.windows

// Known index of.
windowsUiAccessibilityBridge instance = windowsUiAccessibilityBridge(1, 1)
text argument_nodeId = "argument node Id"
int result = instance.KnownIndexOf(argument_nodeId)
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.host_windows__windowsuiaccessibilitybridge"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "host.windows"
version = "0.1.0"
path = "../../../yeho/packages/host/windows"

windowsUiAccessibilityBridge.Initialize

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

cpu · method · source-example · type checked

using host.windows

// Initialize.
windowsUiAccessibilityBridge instance = windowsUiAccessibilityBridge(1, 1)
bool argument_available = true
int argument_thread = 1
bool result = instance.Initialize(argument_available, argument_thread)
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.host_windows__windowsuiaccessibilitybridge"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "host.windows"
version = "0.1.0"
path = "../../../yeho/packages/host/windows"

windowsUiAccessibilityBridge.BeginBatch

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

cpu · method · source-example · type checked

using host.windows

// Begin batch.
windowsUiAccessibilityBridge instance = windowsUiAccessibilityBridge(1, 1)
int argument_thread = 1
bool result = instance.BeginBatch(argument_thread)
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.host_windows__windowsuiaccessibilitybridge"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "host.windows"
version = "0.1.0"
path = "../../../yeho/packages/host/windows"

windowsUiAccessibilityBridge.PublishNode

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

cpu · method · source-example · type checked

using host.windows

// Publish node.
windowsUiAccessibilityBridge instance = windowsUiAccessibilityBridge(1, 1)
text argument_nodeId = "argument node Id"
int argument_generation = 1
text argument_parentId = "argument parent Id"
text argument_role = "argument role"
text argument_name = "argument name"
text argument_description = "argument description"
text argument_value = "argument value"
text argument_nodeStates = "argument node States"
text argument_nodeActions = "argument node Actions"
int argument_x = 1
int argument_y = 1
int argument_width = 1
int argument_height = 1
bool argument_isInteractive = true
bool argument_isFocusable = true
bool argument_isEnabled = true
int argument_thread = 1
bool result = instance.PublishNode(argument_nodeId, argument_generation, argument_parentId, argument_role, argument_name, argument_description, argument_value, argument_nodeStates, argument_nodeActions, argument_x, argument_y, argument_width, argument_height, argument_isInteractive, argument_isFocusable, argument_isEnabled, argument_thread)
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.host_windows__windowsuiaccessibilitybridge"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "host.windows"
version = "0.1.0"
path = "../../../yeho/packages/host/windows"

windowsUiAccessibilityBridge.CommitBatch

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

cpu · method · source-example · type checked

using host.windows

// Commit batch.
windowsUiAccessibilityBridge instance = windowsUiAccessibilityBridge(1, 1)
int argument_thread = 1
bool result = instance.CommitBatch(argument_thread)
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.host_windows__windowsuiaccessibilitybridge"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "host.windows"
version = "0.1.0"
path = "../../../yeho/packages/host/windows"

windowsUiAccessibilityBridge.SetFocus

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

cpu · method · source-example · type checked

using host.windows

// Set focus.
windowsUiAccessibilityBridge instance = windowsUiAccessibilityBridge(1, 1)
text argument_nodeId = "argument node Id"
int argument_generation = 1
int argument_thread = 1
bool result = instance.SetFocus(argument_nodeId, argument_generation, argument_thread)
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.host_windows__windowsuiaccessibilitybridge"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "host.windows"
version = "0.1.0"
path = "../../../yeho/packages/host/windows"

windowsUiAccessibilityBridge.RouteAction

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

cpu · method · source-example · type checked

using host.windows

// Route action.
windowsUiAccessibilityBridge instance = windowsUiAccessibilityBridge(1, 1)
text argument_nodeId = "argument node Id"
int argument_generation = 1
text argument_requestedAction = "argument requested Action"
bool argument_simulateReentrancy = true
int argument_thread = 1
bool result = instance.RouteAction(argument_nodeId, argument_generation, argument_requestedAction, argument_simulateReentrancy, argument_thread)
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.host_windows__windowsuiaccessibilitybridge"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "host.windows"
version = "0.1.0"
path = "../../../yeho/packages/host/windows"

windowsUiAccessibilityBridge.LoseProvider

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

cpu · method · source-example · type checked

using host.windows

// Lose provider.
windowsUiAccessibilityBridge instance = windowsUiAccessibilityBridge(1, 1)
text argument_reason = "argument reason"
int argument_thread = 1
bool result = instance.LoseProvider(argument_reason, argument_thread)
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.host_windows__windowsuiaccessibilitybridge"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "host.windows"
version = "0.1.0"
path = "../../../yeho/packages/host/windows"

windowsUiAccessibilityBridge.TearDown

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

cpu · method · source-example · type checked

using host.windows

// Tear down.
windowsUiAccessibilityBridge instance = windowsUiAccessibilityBridge(1, 1)
int argument_thread = 1
bool result = instance.TearDown(argument_thread)
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.host_windows__windowsuiaccessibilitybridge"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "host.windows"
version = "0.1.0"
path = "../../../yeho/packages/host/windows"

windowsUiAccessibilityBridge.Describe

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

cpu · method · source-example · type checked

using host.windows

// Describe.
windowsUiAccessibilityBridge instance = windowsUiAccessibilityBridge(1, 1)
text result = instance.Describe()
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.host_windows__windowsuiaccessibilitybridge"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "host.windows"
version = "0.1.0"
path = "../../../yeho/packages/host/windows"
Notes and source

Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup.

yeho/packages/host/windows/accessibility.yh:4