{"id":"window.multi--CreateNativeWindowCapabilitySet","name":"CreateNativeWindowCapabilitySet","owner":"yeho","package":"window.multi","kind":"function","signature":"external CreateNativeWindowCapabilitySet(text provider, int maximumWindows) returns nativeWindowCapabilitySet","description":"Create native window capability set from the supplied values.","context":"Describe multiple windows, input events, lifecycle, and capabilities with typed records.","parameters":[{"name":"provider","type":"text","description":"Supply provider as text."},{"name":"maximumWindows","type":"int","description":"Supply maximum windows as int."}],"returns":"nativeWindowCapabilitySet","members":[],"tags":["cpu","function","multi","source-example","window","window.multi","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/window/multi/00-contracts.yh","line":217,"sha256":"434678db31e43543673b57de71bfacefcb1fd4eaaccfeb99e92fd5d2816ec492"},"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 CreateNativeWindowCapabilitySet","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using window.multi\n\n// Describe multiple windows, input events, lifecycle, and capabilities with typed records.\ntext provider = \"provider\"\nint maximumWindows = 1\nnativeWindowCapabilitySet result = CreateNativeWindowCapabilitySet(provider, maximumWindows)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.window_multi__createnativewindowcapabilityset\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"window.multi\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/window/multi\"\n","tags":["cpu","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"45ceb86747dacd00b7c06acc3dd23c062959f0c430377a9b12c49ef5fc527234","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=window.multi--CreateNativeWindowCapabilitySet","json":"https://demonhunterlabs.com/reference/items/window.multi--CreateNativeWindowCapabilitySet.json","markdown":"https://demonhunterlabs.com/reference/text/window.multi--CreateNativeWindowCapabilitySet.md"}
