{"id":"window--WindowDroppedFile","name":"WindowDroppedFile","owner":"yeho","package":"window","kind":"function","signature":"external WindowDroppedFile(windowHandle handle) returns text","description":"Returns the latest Unicode file path delivered by a native drop event for this exact window. Event kind 210 carries the drop; EventValue field 3 is the number of dropped paths. A product should accept only the count it supports.","context":"Open, select, inspect, and close native application windows.","parameters":[{"name":"handle","type":"windowHandle","description":"Supply handle as windowHandle."}],"returns":"text","members":[],"tags":["cpu","function","source-example","window","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/window/window.yh","line":204,"sha256":"33d5aaaa49321134dd3cf650fc9960ad6f42e001783530a2bfed1a6e52d776f3"},"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 WindowDroppedFile","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using window\n\n// Open, select, inspect, and close native application windows.\nwindowHandle handle = windowHandle(1)\ntext result = WindowDroppedFile(handle)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.window__windowdroppedfile\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"window\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/window\"\n","tags":["cpu","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"e475b45781357bd6dd7303dd8b64f64b3c6a1f50bb0ca8592e721c7d36907caf","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=window--WindowDroppedFile","json":"https://demonhunterlabs.com/reference/items/window--WindowDroppedFile.json","markdown":"https://demonhunterlabs.com/reference/text/window--WindowDroppedFile.md"}
