{"id":"host.windows--NormalizeWindowsDisplayColorCapabilityV1","name":"NormalizeWindowsDisplayColorCapabilityV1","owner":"yeho","package":"host.windows","kind":"function","signature":"external NormalizeWindowsDisplayColorCapabilityV1(int stableId, bool available, bool profileAvailable, text profileIdentity, bool advancedColorSupported, bool advancedColorActive, bool hdrSupported, bool hdrUserEnabled, bool wideColorSupported, bool wideColorUserEnabled, bool policyLimited, int activeMode, int encoding, int bitsPerChannel, int sdrWhiteMilliNits, int discoveryVersion, text source) returns nativeUiDisplayColorCapabilityV1","description":"Normalize windows display color capability v1.","context":"Connect Windows display, session, clipboard, and accessibility services.","parameters":[{"name":"stableId","type":"int","description":"Supply stable id as int."},{"name":"available","type":"bool","description":"Supply available as bool."},{"name":"profileAvailable","type":"bool","description":"Supply profile available as bool."},{"name":"profileIdentity","type":"text","description":"Supply profile identity as text."},{"name":"advancedColorSupported","type":"bool","description":"Supply advanced color supported as bool."},{"name":"advancedColorActive","type":"bool","description":"Supply advanced color active as bool."},{"name":"hdrSupported","type":"bool","description":"Supply hdr supported as bool."},{"name":"hdrUserEnabled","type":"bool","description":"Supply hdr user enabled as bool."},{"name":"wideColorSupported","type":"bool","description":"Supply wide color supported as bool."},{"name":"wideColorUserEnabled","type":"bool","description":"Supply wide color user enabled as bool."},{"name":"policyLimited","type":"bool","description":"Supply policy limited as bool."},{"name":"activeMode","type":"int","description":"Supply active mode as int."},{"name":"encoding","type":"int","description":"Supply encoding as int."},{"name":"bitsPerChannel","type":"int","description":"Supply bits per channel as int."},{"name":"sdrWhiteMilliNits","type":"int","description":"Supply sdr white milli nits as int."},{"name":"discoveryVersion","type":"int","description":"Supply discovery version as int."},{"name":"source","type":"text","description":"Supply source as text."}],"returns":"nativeUiDisplayColorCapabilityV1","members":[],"tags":["cpu","function","host","host.windows","source-example","windows","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/host/windows/display.yh","line":63,"sha256":"7a7c119731e567526909241bf0630dbf5c2a8fc631247cef36b5f010a01afef3"},"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 NormalizeWindowsDisplayColorCapabilityV1","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.\nint stableId = 1\nbool available = true\nbool profileAvailable = true\ntext profileIdentity = \"profile Identity\"\nbool advancedColorSupported = true\nbool advancedColorActive = true\nbool hdrSupported = true\nbool hdrUserEnabled = true\nbool wideColorSupported = true\nbool wideColorUserEnabled = true\nbool policyLimited = true\nint activeMode = 1\nint encoding = 1\nint bitsPerChannel = 1\nint sdrWhiteMilliNits = 1\nint discoveryVersion = 1\ntext source = \"example\"\nnativeUiDisplayColorCapabilityV1 result = NormalizeWindowsDisplayColorCapabilityV1(stableId, available, profileAvailable, profileIdentity, advancedColorSupported, advancedColorActive, hdrSupported, hdrUserEnabled, wideColorSupported, wideColorUserEnabled, policyLimited, activeMode, encoding, bitsPerChannel, sdrWhiteMilliNits, discoveryVersion, source)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.host_windows__normalizewindowsdisplaycolorcapabilityv1\"\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":"1defb33e4e8736bb012319cf6b7e536d0622011da3679406b7f653fdb80ce18a","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=host.windows--NormalizeWindowsDisplayColorCapabilityV1","json":"https://demonhunterlabs.com/reference/items/host.windows--NormalizeWindowsDisplayColorCapabilityV1.json","markdown":"https://demonhunterlabs.com/reference/text/host.windows--NormalizeWindowsDisplayColorCapabilityV1.md"}
