{"id":"host.windows--WindowsClipboardSnapshotContract","name":"WindowsClipboardSnapshotContract","owner":"yeho","package":"host.windows","kind":"function","signature":"external WindowsClipboardSnapshotContract() returns text","description":"Windows clipboard snapshot contract.","context":"Connect Windows display, session, clipboard, and accessibility services.","parameters":[],"returns":"text","members":[],"tags":["cpu","function","host","host.windows","source-example","windows","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/host/windows/clipboard.yh","line":48,"sha256":"43ed65ef2d3c8357b4f6a512ddbb02ed8fe4cf56c867f567e55bc766ce856f83"},"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 WindowsClipboardSnapshotContract","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using host.windows\n\n// Connect Windows display, session, clipboard, and accessibility services.\ntext result = WindowsClipboardSnapshotContract()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.host_windows__windowsclipboardsnapshotcontract\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\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","tags":["cpu","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"1f8f093b98b0b0d969f19a315b6b30af859e0348f20ffe9725ece96c5e3fcc34","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=host.windows--WindowsClipboardSnapshotContract","json":"https://demonhunterlabs.com/reference/items/host.windows--WindowsClipboardSnapshotContract.json","markdown":"https://demonhunterlabs.com/reference/text/host.windows--WindowsClipboardSnapshotContract.md"}
