{"id":"runtime--Window.PollPointerEvent","name":"Window.PollPointerEvent","owner":"yeho","package":"runtime.Window","kind":"builtin","signature":"Window.PollPointerEvent(int handle) -> bool","description":"Pump native messages and latch the next ordered pointer event for a window.","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":"A live Window handle. Invalid handles return false."}],"returns":"bool","members":[],"tags":["builtin","cpu","yeho","window"],"updated":"2026-09-09","source":{"repository":"yeho","path":"src/compiler/common/intrinsic_registry.cpp","line":1109,"sha256":"e07098e8794c2cde592b3a907d5141cacb101812da91d4a8eb22650739752615"},"status":"registered-intrinsic","notes":["Windows CPU-oracle only. Another poll replaces the snapshot; an empty poll clears it. The 128-record queue coalesces adjacent compatible motion. Overflow cancels the gesture and signals discontinuity. Other hosts throw window.pointer.unsupported. 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.PollPointerEvent","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)\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.runtime__window_pollpointerevent\"\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":"e85c6d13f40a7544c948b4acb8b5f3edef674a9814ee415017d4efa05366ef65","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":"cpu-oracle"}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=runtime--Window.PollPointerEvent","json":"https://demonhunterlabs.com/reference/items/runtime--Window.PollPointerEvent.json","markdown":"https://demonhunterlabs.com/reference/text/runtime--Window.PollPointerEvent.md"}
