{"id":"frontend.yui.host.windows--AppendYuiWindowsTextV1","name":"AppendYuiWindowsTextV1","owner":"yeho","package":"frontend.yui.host.windows","kind":"function","signature":"external AppendYuiWindowsTextV1(yuiDisplayList display, yuiWindowsTextProviderV1 provider, int firstCommandSequence, text ownerId, text value, text family, text locale, int weight, int sizeQ26_6, yuiRenderBounds bounds, text layerId, text targetId, text paintId, text clipId, text transformId, text semanticRole, text source) returns yuiWindowsTextAppendResultV1","description":"Shape, rasterize, cache, register, and append one caller-owned text node. Bounds are both the DirectWrite layout maximum and the renderer-v2 origin.","context":"Connect YUI to Windows host input, accessibility, and editing services.","parameters":[{"name":"display","type":"yuiDisplayList","description":"Supply display as yuiDisplayList."},{"name":"provider","type":"yuiWindowsTextProviderV1","description":"Supply provider as yuiWindowsTextProviderV1."},{"name":"firstCommandSequence","type":"int","description":"Supply first command sequence as int."},{"name":"ownerId","type":"text","description":"Supply owner id as text."},{"name":"value","type":"text","description":"Supply value as text."},{"name":"family","type":"text","description":"Supply family as text."},{"name":"locale","type":"text","description":"Supply locale as text."},{"name":"weight","type":"int","description":"Supply weight as int."},{"name":"sizeQ26_6","type":"int","description":"Supply size q26 6 as int."},{"name":"bounds","type":"yuiRenderBounds","description":"Supply bounds as yuiRenderBounds."},{"name":"layerId","type":"text","description":"Supply layer id as text."},{"name":"targetId","type":"text","description":"Supply target id as text."},{"name":"paintId","type":"text","description":"Supply paint id as text."},{"name":"clipId","type":"text","description":"Supply clip id as text."},{"name":"transformId","type":"text","description":"Supply transform id as text."},{"name":"semanticRole","type":"text","description":"Supply semantic role as text."},{"name":"source","type":"text","description":"Supply source as text."}],"returns":"yuiWindowsTextAppendResultV1","members":[],"tags":["cpu","frontend","frontend.yui.host.windows","function","host","source-example","windows","yeho","yui"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/frontend/yui/host/windows/text-text_provider_v1.yh","line":402,"sha256":"1ec95a54e9d4d6145a0aa2cd9c58d797181b9ffb547a8559bc2674255f4ceaba"},"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 AppendYuiWindowsTextV1","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using frontend.yui.host.windows\n\n// Connect YUI to Windows host input, accessibility, and editing services.\nyuiDisplayList display = yuiDisplayList(\"surface Id\")\nyuiWindowsTextProviderV1 provider = yuiWindowsTextProviderV1(\"example\")\nint firstCommandSequence = 1\ntext ownerId = \"owner Id\"\ntext value = \"value\"\ntext family = \"cpu\"\ntext locale = \"locale\"\nint weight = 1\nint sizeQ26_6 = 1\nyuiRenderBounds bounds = yuiRenderBounds(1, 1, 1, 1)\ntext layerId = \"layer Id\"\ntext targetId = \"target Id\"\ntext paintId = \"paint Id\"\ntext clipId = \"clip Id\"\ntext transformId = \"transform Id\"\ntext semanticRole = \"semantic Role\"\ntext source = \"example\"\nyuiWindowsTextAppendResultV1 result = AppendYuiWindowsTextV1(display, provider, firstCommandSequence, ownerId, value, family, locale, weight, sizeQ26_6, bounds, layerId, targetId, paintId, clipId, transformId, semanticRole, source)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.frontend_yui_host_windows__appendyuiwindowstextv1\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"frontend.yui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/frontend/yui\"\n\n[[dependencies]]\npackage = \"frontend.yui.host.windows\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/frontend/yui/host/windows\"\n\n[[dependencies]]\npackage = \"graphics.canvas\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/canvas\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.image.processing\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image/processing\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n\n[[dependencies]]\npackage = \"graphics.text.windows\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text/windows\"\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\n[[dependencies]]\npackage = \"input.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/input/text\"\n\n[[dependencies]]\npackage = \"time\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/time\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n\n[[dependencies]]\npackage = \"window\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/window\"\n\n[[dependencies]]\npackage = \"window.multi\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/window/multi\"\n","tags":["cpu","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"4ed5254637aadcf0bb1fc458ed7149b2594c1cdeed5a468f6a6b063c933fcc7f","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=frontend.yui.host.windows--AppendYuiWindowsTextV1","json":"https://demonhunterlabs.com/reference/items/frontend.yui.host.windows--AppendYuiWindowsTextV1.json","markdown":"https://demonhunterlabs.com/reference/text/frontend.yui.host.windows--AppendYuiWindowsTextV1.md"}
