# windowsUiAccessibilityBridge

A windows ui accessibility bridge record carrying window, ownerThread, state, diagnostic, revision, and related state.

Last updated: 2026-09-09

Package: host.windows | Status: source-declared

Tags: class, cpu, host, host.windows, method, source-example, windows, yeho

Connect Windows display, session, clipboard, and accessibility services.

```yh
external class windowsUiAccessibilityBridge
```

- 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.
- Ready(int thread, text operation) returns bool: Ready.
- InitializeStaging(): Initialize staging.
- ClearStaging(): Clear staging.
- CommitStagingToActive(): Commit staging to active.
- IndexOf(text nodeId) returns int: Index of.
- StagedIndexOf(text nodeId) returns int: Staged index of.
- KnownIndexOf(text nodeId) returns int: Known index of.
- Initialize(bool available, int thread) returns bool: Initialize.
- BeginBatch(int thread) returns bool: Begin batch.
- 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.
- CommitBatch(int thread) returns bool: Commit batch.
- SetFocus(text nodeId, int generation, int thread) returns bool: Set focus.
- RouteAction(text nodeId, int generation, text requestedAction, bool simulateReentrancy, int thread) returns bool: Route action.
- LoseProvider(text reason, int thread) returns bool: Lose provider.
- TearDown(int thread) returns bool: Tear down.
- Describe() returns text: Describe.

## Use windowsUiAccessibilityBridge

A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.

Verification: type checked

```yh
using host.windows

// Connect Windows display, session, clipboard, and accessibility services.
windowsUiAccessibilityBridge sample = windowsUiAccessibilityBridge(1, 1)
Console.Log(Text.From(sample.window))

```

Save this beside start.yh as project.mech:

```toml
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"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/host.windows--windowsUiAccessibilityBridge/usage --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## windowsUiAccessibilityBridge.Reject

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
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))

```

Save this beside start.yh as project.mech:

```toml
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"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/host.windows--windowsUiAccessibilityBridge/method-Reject-56 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## windowsUiAccessibilityBridge.Ready

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
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))

```

Save this beside start.yh as project.mech:

```toml
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"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/host.windows--windowsUiAccessibilityBridge/method-Ready-57 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## windowsUiAccessibilityBridge.InitializeStaging

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using host.windows

// Initialize staging.
windowsUiAccessibilityBridge instance = windowsUiAccessibilityBridge(1, 1)
instance.InitializeStaging()
Console.Log("InitializeStaging completed")

```

Save this beside start.yh as project.mech:

```toml
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"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/host.windows--windowsUiAccessibilityBridge/method-InitializeStaging-58 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## windowsUiAccessibilityBridge.ClearStaging

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using host.windows

// Clear staging.
windowsUiAccessibilityBridge instance = windowsUiAccessibilityBridge(1, 1)
instance.ClearStaging()
Console.Log("ClearStaging completed")

```

Save this beside start.yh as project.mech:

```toml
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"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/host.windows--windowsUiAccessibilityBridge/method-ClearStaging-59 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## windowsUiAccessibilityBridge.CommitStagingToActive

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using host.windows

// Commit staging to active.
windowsUiAccessibilityBridge instance = windowsUiAccessibilityBridge(1, 1)
instance.CommitStagingToActive()
Console.Log("CommitStagingToActive completed")

```

Save this beside start.yh as project.mech:

```toml
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"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/host.windows--windowsUiAccessibilityBridge/method-CommitStagingToActive-60 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## windowsUiAccessibilityBridge.IndexOf

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
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))

```

Save this beside start.yh as project.mech:

```toml
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"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/host.windows--windowsUiAccessibilityBridge/method-IndexOf-61 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## windowsUiAccessibilityBridge.StagedIndexOf

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
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))

```

Save this beside start.yh as project.mech:

```toml
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"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/host.windows--windowsUiAccessibilityBridge/method-StagedIndexOf-62 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## windowsUiAccessibilityBridge.KnownIndexOf

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
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))

```

Save this beside start.yh as project.mech:

```toml
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"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/host.windows--windowsUiAccessibilityBridge/method-KnownIndexOf-63 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## windowsUiAccessibilityBridge.Initialize

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
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))

```

Save this beside start.yh as project.mech:

```toml
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"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/host.windows--windowsUiAccessibilityBridge/method-Initialize-64 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## windowsUiAccessibilityBridge.BeginBatch

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
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))

```

Save this beside start.yh as project.mech:

```toml
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"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/host.windows--windowsUiAccessibilityBridge/method-BeginBatch-65 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## windowsUiAccessibilityBridge.PublishNode

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
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))

```

Save this beside start.yh as project.mech:

```toml
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"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/host.windows--windowsUiAccessibilityBridge/method-PublishNode-66 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## windowsUiAccessibilityBridge.CommitBatch

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
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))

```

Save this beside start.yh as project.mech:

```toml
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"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/host.windows--windowsUiAccessibilityBridge/method-CommitBatch-67 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## windowsUiAccessibilityBridge.SetFocus

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
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))

```

Save this beside start.yh as project.mech:

```toml
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"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/host.windows--windowsUiAccessibilityBridge/method-SetFocus-68 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## windowsUiAccessibilityBridge.RouteAction

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
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))

```

Save this beside start.yh as project.mech:

```toml
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"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/host.windows--windowsUiAccessibilityBridge/method-RouteAction-69 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## windowsUiAccessibilityBridge.LoseProvider

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
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))

```

Save this beside start.yh as project.mech:

```toml
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"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/host.windows--windowsUiAccessibilityBridge/method-LoseProvider-70 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## windowsUiAccessibilityBridge.TearDown

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
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))

```

Save this beside start.yh as project.mech:

```toml
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"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/host.windows--windowsUiAccessibilityBridge/method-TearDown-71 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## windowsUiAccessibilityBridge.Describe

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using host.windows

// Describe.
windowsUiAccessibilityBridge instance = windowsUiAccessibilityBridge(1, 1)
text result = instance.Describe()
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
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"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/host.windows--windowsUiAccessibilityBridge/method-Describe-72 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup.

Source: yeho/packages/host/windows/accessibility.yh

AI training permission: https://demonhunterlabs.com/ai-use
