{"id":"host.windows--SnapshotWindowsClipboard","name":"SnapshotWindowsClipboard","owner":"yeho","package":"host.windows","kind":"function","signature":"external SnapshotWindowsClipboard() returns windowsUiClipboardSnapshot","description":"Snapshot windows clipboard.","context":"Connect Windows display, session, clipboard, and accessibility services.","parameters":[],"returns":"windowsUiClipboardSnapshot","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":42,"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 SnapshotWindowsClipboard","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.\nwindowsUiClipboardSnapshot result = SnapshotWindowsClipboard()\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.host_windows__snapshotwindowsclipboard\"\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":"6060d471c9cf326cdc5998c866fa24e5aec16af36e17f718ed47ecb0e890a3b6","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=host.windows--SnapshotWindowsClipboard","json":"https://demonhunterlabs.com/reference/items/host.windows--SnapshotWindowsClipboard.json","markdown":"https://demonhunterlabs.com/reference/text/host.windows--SnapshotWindowsClipboard.md"}
