{"id":"runtime--WindowsText.CaptureRasterValue","name":"WindowsText.CaptureRasterValue","owner":"yeho","package":"runtime.WindowsText","kind":"builtin","signature":"WindowsText.CaptureRasterValue(int capture_generation, int run_index, int field) -> int","description":"Capture raster value through the WindowsText runtime.","context":"Built into Yeho; no package import is needed. Native services require an admitted host and the correct resource lifecycle.","parameters":[{"name":"capture_generation","type":"int","description":"Supply capture generation as int.","rule":"Int"},{"name":"run_index","type":"int","description":"Supply run index as int.","rule":"Int"},{"name":"field","type":"int","description":"Supply field as int.","rule":"Int"}],"returns":"int","members":[],"tags":["builtin","cpu","windowstext","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"src/compiler/common/intrinsic_registry.cpp","line":1323,"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 WindowsText.CaptureRasterValue","description":"A complete typed caller with illustrative arguments. Native operations need the corresponding host and resources.","code":"int capture_generation = 1\nint run_index = 1\nint field = 1\nint result = WindowsText.CaptureRasterValue(capture_generation, run_index, field)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.runtime__windowstext_capturerastervalue\"\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":"61bb7bb76eb4cb834af5da28d794b50e29fd19573da82b37a65fa42f67d20f69","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=runtime--WindowsText.CaptureRasterValue","json":"https://demonhunterlabs.com/reference/items/runtime--WindowsText.CaptureRasterValue.json","markdown":"https://demonhunterlabs.com/reference/text/runtime--WindowsText.CaptureRasterValue.md"}
