{"id":"runtime--Window.PointerEventValue","name":"Window.PointerEventValue","owner":"yeho","package":"runtime.Window","kind":"builtin","signature":"Window.PointerEventValue(int handle, int field) -> int","description":"Read a field from a latched pointer event without pumping or changing it.","context":"Built into Yeho; no import is needed. These additions have Windows CPU-oracle developer-host evidence. Kyber rejects these operations; this does not qualify Starfish or other targets.","parameters":[{"name":"handle","type":"int","description":"Window handle whose latest event was latched by PollPointerEvent."},{"name":"field","type":"int","description":"Stable field ID: 0 kind, 1 sequence, 2 discontinuity, 15 wheel delta, 16/17 client coordinates, 20 capture, 21 capture lost, 22 cancelled."}],"returns":"int","members":[],"tags":["builtin","cpu","yeho","window"],"updated":"2026-09-09","source":{"repository":"yeho","path":"src/compiler/common/intrinsic_registry.cpp","line":1113,"sha256":"e07098e8794c2cde592b3a907d5141cacb101812da91d4a8eb22650739752615"},"status":"registered-intrinsic","notes":["Windows CPU-oracle only. Invalid handles or fields return zero. Other hosts throw window.pointer.unsupported. Native fields are provider-specific rather than a portable multitouch guarantee. Handle 0 only illustrates the type-checked call shape.","Contract and host execution evidence: yeho/docs/runtime/hardware-host-tools.md. This small example was type checked, not executed."],"examples":[{"id":"usage","title":"Call Window.PointerEventValue","description":"A complete typed call with illustrative values; native calls require the indicated host and resources.","code":"int handle = 0\nbool available = Window.PollPointerEvent(handle)\nint kind = Window.PointerEventValue(handle, 0)\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.runtime__window_pointereventvalue\"\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":"8fa2ea88d09edec9048a3947d70e29e272851d4e4167944d2cd38117ae7d240e","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":"cpu-oracle"}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=runtime--Window.PointerEventValue","json":"https://demonhunterlabs.com/reference/items/runtime--Window.PointerEventValue.json","markdown":"https://demonhunterlabs.com/reference/text/runtime--Window.PointerEventValue.md"}
