# yuiAuthoredWindowsAccessibilityAdapter

A yui authored windows accessibility adapter record carrying ownerThread, width, height, nextGeneration, publishCount, and related state.

Last updated: 2026-09-09

Package: frontend.yui.host.windows | Status: source-declared

Tags: cpu, frontend, frontend.yui.host.windows, host, method, source-example, thing, windows, yeho, yui

Connect YUI to Windows host input, accessibility, and editing services.

```yh
external thing yuiAuthoredWindowsAccessibilityAdapter
```

- int ownerThread: Stores owner thread as int.
- int width: Stores width as int.
- int height: Stores height as int.
- int nextGeneration: Stores next generation as int.
- int publishCount: Stores publish count as int.
- int noOpCount: Stores no op count as int.
- int addedCount: Stores added count as int.
- int removedCount: Stores removed count as int.
- int updatedCount: Stores updated count as int.
- int structureChangeCount: Stores structure change count as int.
- int propertyChangeCount: Stores property change count as int.
- text lastFingerprint: Stores last fingerprint as text.
- text lastFocus: Stores last focus as text.
- text diagnostic: Stores diagnostic as text.
- list of text previousNodeIds: Stores previous node ids as list of text.
- list of int previousGenerations: Stores previous generations as list of int.
- list of text previousParentIds: Stores previous parent ids as list of text.
- list of text previousRoles: Stores previous roles as list of text.
- list of text previousNames: Stores previous names as list of text.
- list of text previousDescriptions: Stores previous descriptions as list of text.
- list of text previousValues: Stores previous values as list of text.
- list of text previousStates: Stores previous states as list of text.
- list of text previousActions: Stores previous actions as list of text.
- list of bool previousEnabled: Stores previous enabled as list of bool.
- list of bool previousFocusable: Stores previous focusable as list of bool.
- list of bool previousInteractive: Stores previous interactive as list of bool.
- yuiAuthoredWindowsAccessibilityAdapter(int ownerThread): Yui authored windows accessibility adapter.
- PreviousIndex(text nodeId) returns int: Previous index.
- Initialize(windowsUiAccessibilityBridge bridge, bool nativeProviderAvailable, int thread) returns bool: Initialize.
- Fingerprint(yuiAuthoredRuntime runtime, int width, int height, text focusedNodeId) returns text: Fingerprint.
- Sync(windowsUiAccessibilityBridge bridge, yuiAuthoredRuntime runtime, int width, int height, text focusedNodeId, int thread) returns bool: Sync.
- Close(windowsUiAccessibilityBridge bridge, int thread) returns bool: Close.
- Describe(windowsUiAccessibilityBridge bridge) returns text: Describe.

## Use yuiAuthoredWindowsAccessibilityAdapter

A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.

Verification: type checked

```yh
using frontend.yui.host.windows

// Connect YUI to Windows host input, accessibility, and editing services.
yuiAuthoredWindowsAccessibilityAdapter sample = yuiAuthoredWindowsAccessibilityAdapter(1)
Console.Log(Text.From(sample.ownerThread))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.frontend_yui_host_windows__yuiauthoredwindowsaccessibilityadapter"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "frontend.yui"
version = "0.2.0"
path = "../../../yeho/packages/frontend/yui"

[[dependencies]]
package = "frontend.yui.host.windows"
version = "0.2.0"
path = "../../../yeho/packages/frontend/yui/host/windows"

[[dependencies]]
package = "graphics.canvas"
version = "0.1.0"
path = "../../../yeho/packages/graphics/canvas"

[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"

[[dependencies]]
package = "graphics.image.processing"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image/processing"

[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"

[[dependencies]]
package = "graphics.text.windows"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text/windows"

[[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"

[[dependencies]]
package = "input.text"
version = "0.1.0"
path = "../../../yeho/packages/input/text"

[[dependencies]]
package = "time"
version = "0.1.0"
path = "../../../yeho/packages/time"

[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"

[[dependencies]]
package = "window"
version = "0.1.0"
path = "../../../yeho/packages/window"

[[dependencies]]
package = "window.multi"
version = "0.1.0"
path = "../../../yeho/packages/window/multi"

```

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/frontend.yui.host.windows--yuiAuthoredWindowsAccessibilityAdapter/usage --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## yuiAuthoredWindowsAccessibilityAdapter.PreviousIndex

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using frontend.yui.host.windows

// Previous index.
yuiAuthoredWindowsAccessibilityAdapter instance = yuiAuthoredWindowsAccessibilityAdapter(1)
text argument_nodeId = "argument node Id"
int result = instance.PreviousIndex(argument_nodeId)
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.frontend_yui_host_windows__yuiauthoredwindowsaccessibilityadapter"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "frontend.yui"
version = "0.2.0"
path = "../../../yeho/packages/frontend/yui"

[[dependencies]]
package = "frontend.yui.host.windows"
version = "0.2.0"
path = "../../../yeho/packages/frontend/yui/host/windows"

[[dependencies]]
package = "graphics.canvas"
version = "0.1.0"
path = "../../../yeho/packages/graphics/canvas"

[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"

[[dependencies]]
package = "graphics.image.processing"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image/processing"

[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"

[[dependencies]]
package = "graphics.text.windows"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text/windows"

[[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"

[[dependencies]]
package = "input.text"
version = "0.1.0"
path = "../../../yeho/packages/input/text"

[[dependencies]]
package = "time"
version = "0.1.0"
path = "../../../yeho/packages/time"

[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"

[[dependencies]]
package = "window"
version = "0.1.0"
path = "../../../yeho/packages/window"

[[dependencies]]
package = "window.multi"
version = "0.1.0"
path = "../../../yeho/packages/window/multi"

```

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/frontend.yui.host.windows--yuiAuthoredWindowsAccessibilityAdapter/method-PreviousIndex-27 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## yuiAuthoredWindowsAccessibilityAdapter.Initialize

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using frontend.yui.host.windows

// Initialize.
yuiAuthoredWindowsAccessibilityAdapter instance = yuiAuthoredWindowsAccessibilityAdapter(1)
windowsUiAccessibilityBridge argument_bridge = windowsUiAccessibilityBridge(1, 1)
bool argument_nativeProviderAvailable = true
int argument_thread = 1
bool result = instance.Initialize(argument_bridge, argument_nativeProviderAvailable, argument_thread)
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.frontend_yui_host_windows__yuiauthoredwindowsaccessibilityadapter"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "frontend.yui"
version = "0.2.0"
path = "../../../yeho/packages/frontend/yui"

[[dependencies]]
package = "frontend.yui.host.windows"
version = "0.2.0"
path = "../../../yeho/packages/frontend/yui/host/windows"

[[dependencies]]
package = "graphics.canvas"
version = "0.1.0"
path = "../../../yeho/packages/graphics/canvas"

[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"

[[dependencies]]
package = "graphics.image.processing"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image/processing"

[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"

[[dependencies]]
package = "graphics.text.windows"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text/windows"

[[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"

[[dependencies]]
package = "input.text"
version = "0.1.0"
path = "../../../yeho/packages/input/text"

[[dependencies]]
package = "time"
version = "0.1.0"
path = "../../../yeho/packages/time"

[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"

[[dependencies]]
package = "window"
version = "0.1.0"
path = "../../../yeho/packages/window"

[[dependencies]]
package = "window.multi"
version = "0.1.0"
path = "../../../yeho/packages/window/multi"

```

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/frontend.yui.host.windows--yuiAuthoredWindowsAccessibilityAdapter/method-Initialize-28 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## yuiAuthoredWindowsAccessibilityAdapter.Fingerprint

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using frontend.yui.host.windows

// Fingerprint.
yuiAuthoredWindowsAccessibilityAdapter instance = yuiAuthoredWindowsAccessibilityAdapter(1)
yuiAuthoredRuntime argument_runtime = yuiAuthoredRuntime("id")
int argument_width = 1
int argument_height = 1
text argument_focusedNodeId = "argument focused Node Id"
text result = instance.Fingerprint(argument_runtime, argument_width, argument_height, argument_focusedNodeId)
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.frontend_yui_host_windows__yuiauthoredwindowsaccessibilityadapter"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "frontend.yui"
version = "0.2.0"
path = "../../../yeho/packages/frontend/yui"

[[dependencies]]
package = "frontend.yui.host.windows"
version = "0.2.0"
path = "../../../yeho/packages/frontend/yui/host/windows"

[[dependencies]]
package = "graphics.canvas"
version = "0.1.0"
path = "../../../yeho/packages/graphics/canvas"

[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"

[[dependencies]]
package = "graphics.image.processing"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image/processing"

[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"

[[dependencies]]
package = "graphics.text.windows"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text/windows"

[[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"

[[dependencies]]
package = "input.text"
version = "0.1.0"
path = "../../../yeho/packages/input/text"

[[dependencies]]
package = "time"
version = "0.1.0"
path = "../../../yeho/packages/time"

[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"

[[dependencies]]
package = "window"
version = "0.1.0"
path = "../../../yeho/packages/window"

[[dependencies]]
package = "window.multi"
version = "0.1.0"
path = "../../../yeho/packages/window/multi"

```

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/frontend.yui.host.windows--yuiAuthoredWindowsAccessibilityAdapter/method-Fingerprint-29 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## yuiAuthoredWindowsAccessibilityAdapter.Sync

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using frontend.yui.host.windows

// Sync.
yuiAuthoredWindowsAccessibilityAdapter instance = yuiAuthoredWindowsAccessibilityAdapter(1)
windowsUiAccessibilityBridge argument_bridge = windowsUiAccessibilityBridge(1, 1)
yuiAuthoredRuntime argument_runtime = yuiAuthoredRuntime("id")
int argument_width = 1
int argument_height = 1
text argument_focusedNodeId = "argument focused Node Id"
int argument_thread = 1
bool result = instance.Sync(argument_bridge, argument_runtime, argument_width, argument_height, argument_focusedNodeId, argument_thread)
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.frontend_yui_host_windows__yuiauthoredwindowsaccessibilityadapter"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "frontend.yui"
version = "0.2.0"
path = "../../../yeho/packages/frontend/yui"

[[dependencies]]
package = "frontend.yui.host.windows"
version = "0.2.0"
path = "../../../yeho/packages/frontend/yui/host/windows"

[[dependencies]]
package = "graphics.canvas"
version = "0.1.0"
path = "../../../yeho/packages/graphics/canvas"

[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"

[[dependencies]]
package = "graphics.image.processing"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image/processing"

[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"

[[dependencies]]
package = "graphics.text.windows"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text/windows"

[[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"

[[dependencies]]
package = "input.text"
version = "0.1.0"
path = "../../../yeho/packages/input/text"

[[dependencies]]
package = "time"
version = "0.1.0"
path = "../../../yeho/packages/time"

[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"

[[dependencies]]
package = "window"
version = "0.1.0"
path = "../../../yeho/packages/window"

[[dependencies]]
package = "window.multi"
version = "0.1.0"
path = "../../../yeho/packages/window/multi"

```

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/frontend.yui.host.windows--yuiAuthoredWindowsAccessibilityAdapter/method-Sync-30 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## yuiAuthoredWindowsAccessibilityAdapter.Close

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using frontend.yui.host.windows

// Close.
yuiAuthoredWindowsAccessibilityAdapter instance = yuiAuthoredWindowsAccessibilityAdapter(1)
windowsUiAccessibilityBridge argument_bridge = windowsUiAccessibilityBridge(1, 1)
int argument_thread = 1
bool result = instance.Close(argument_bridge, argument_thread)
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.frontend_yui_host_windows__yuiauthoredwindowsaccessibilityadapter"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "frontend.yui"
version = "0.2.0"
path = "../../../yeho/packages/frontend/yui"

[[dependencies]]
package = "frontend.yui.host.windows"
version = "0.2.0"
path = "../../../yeho/packages/frontend/yui/host/windows"

[[dependencies]]
package = "graphics.canvas"
version = "0.1.0"
path = "../../../yeho/packages/graphics/canvas"

[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"

[[dependencies]]
package = "graphics.image.processing"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image/processing"

[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"

[[dependencies]]
package = "graphics.text.windows"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text/windows"

[[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"

[[dependencies]]
package = "input.text"
version = "0.1.0"
path = "../../../yeho/packages/input/text"

[[dependencies]]
package = "time"
version = "0.1.0"
path = "../../../yeho/packages/time"

[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"

[[dependencies]]
package = "window"
version = "0.1.0"
path = "../../../yeho/packages/window"

[[dependencies]]
package = "window.multi"
version = "0.1.0"
path = "../../../yeho/packages/window/multi"

```

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/frontend.yui.host.windows--yuiAuthoredWindowsAccessibilityAdapter/method-Close-31 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## yuiAuthoredWindowsAccessibilityAdapter.Describe

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using frontend.yui.host.windows

// Describe.
yuiAuthoredWindowsAccessibilityAdapter instance = yuiAuthoredWindowsAccessibilityAdapter(1)
windowsUiAccessibilityBridge argument_bridge = windowsUiAccessibilityBridge(1, 1)
text result = instance.Describe(argument_bridge)
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.frontend_yui_host_windows__yuiauthoredwindowsaccessibilityadapter"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "frontend.yui"
version = "0.2.0"
path = "../../../yeho/packages/frontend/yui"

[[dependencies]]
package = "frontend.yui.host.windows"
version = "0.2.0"
path = "../../../yeho/packages/frontend/yui/host/windows"

[[dependencies]]
package = "graphics.canvas"
version = "0.1.0"
path = "../../../yeho/packages/graphics/canvas"

[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"

[[dependencies]]
package = "graphics.image.processing"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image/processing"

[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"

[[dependencies]]
package = "graphics.text.windows"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text/windows"

[[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"

[[dependencies]]
package = "input.text"
version = "0.1.0"
path = "../../../yeho/packages/input/text"

[[dependencies]]
package = "time"
version = "0.1.0"
path = "../../../yeho/packages/time"

[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"

[[dependencies]]
package = "window"
version = "0.1.0"
path = "../../../yeho/packages/window"

[[dependencies]]
package = "window.multi"
version = "0.1.0"
path = "../../../yeho/packages/window/multi"

```

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/frontend.yui.host.windows--yuiAuthoredWindowsAccessibilityAdapter/method-Describe-32 --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/frontend/yui/host/windows/accessibility-accessibility.yh

AI training permission: https://demonhunterlabs.com/ai-use
