[{"data":1,"prerenderedAt":536},["ShallowReactive",2],{"7D3PlpCbvY":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":535,"_id":4},"vkGetWinrtDisplayNV","Query the VkDisplayKHR corresponding to a WinRT DisplayTarget","VK_NV_acquire_winrt_display","protos",[],{"type":10,"children":11,"toc":533},"root",[12,29,56,308,426,472,527],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,27],{"type":18,"value":19},"text","When acquiring displays on Windows 10, an application may also wish to\nenumerate and identify them using a native handle rather than a\n",{"type":13,"tag":21,"props":22,"children":24},"code",{"className":23},[],[25],{"type":18,"value":26},"VkDisplayKHR",{"type":18,"value":28}," handle.",{"type":13,"tag":14,"props":30,"children":31},{},[32,34,39,41,54],{"type":18,"value":33},"To determine the ",{"type":13,"tag":21,"props":35,"children":37},{"className":36},[],[38],{"type":18,"value":26},{"type":18,"value":40}," handle corresponding to a\n",{"type":13,"tag":42,"props":43,"children":47},"a",{"href":44,"rel":45},"https://docs.microsoft.com/en-us/uwp/api/windows.devices.display.core.displaytarget",[46],"nofollow",[48],{"type":13,"tag":21,"props":49,"children":51},{"className":50},[],[52],{"type":18,"value":53},"winrt::Windows::Devices::Display::Core::DisplayTarget",{"type":18,"value":55},",\ncall:",{"type":13,"tag":57,"props":58,"children":59},"code-group",{},[60,157],{"type":13,"tag":61,"props":62,"children":68},"pre",{"className":63,"code":64,"filename":65,"language":66,"meta":67,"style":67},"language-c shiki shiki-themes github-light-default github-dark-default","VkResult vkGetWinrtDisplayNV(\n VkPhysicalDevice physicalDevice,\n uint32_t deviceRelativeId,\n VkDisplayKHR* pDisplay);\n","C","c","",[69],{"type":13,"tag":21,"props":70,"children":71},{"__ignoreMap":67},[72,94,114,133],{"type":13,"tag":73,"props":74,"children":77},"span",{"class":75,"line":76},"line",1,[78,84,89],{"type":13,"tag":73,"props":79,"children":81},{"style":80},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[82],{"type":18,"value":83},"VkResult ",{"type":13,"tag":73,"props":85,"children":87},{"style":86},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[88],{"type":18,"value":4},{"type":13,"tag":73,"props":90,"children":91},{"style":80},[92],{"type":18,"value":93},"(\n",{"type":13,"tag":73,"props":95,"children":97},{"class":75,"line":96},2,[98,103,109],{"type":13,"tag":73,"props":99,"children":100},{"style":80},[101],{"type":18,"value":102}," VkPhysicalDevice ",{"type":13,"tag":73,"props":104,"children":106},{"style":105},"--shiki-default:#953800;--shiki-dark:#FFA657",[107],{"type":18,"value":108},"physicalDevice",{"type":13,"tag":73,"props":110,"children":111},{"style":80},[112],{"type":18,"value":113},",\n",{"type":13,"tag":73,"props":115,"children":117},{"class":75,"line":116},3,[118,124,129],{"type":13,"tag":73,"props":119,"children":121},{"style":120},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[122],{"type":18,"value":123}," uint32_t",{"type":13,"tag":73,"props":125,"children":126},{"style":105},[127],{"type":18,"value":128}," deviceRelativeId",{"type":13,"tag":73,"props":130,"children":131},{"style":80},[132],{"type":18,"value":113},{"type":13,"tag":73,"props":134,"children":136},{"class":75,"line":135},4,[137,142,147,152],{"type":13,"tag":73,"props":138,"children":139},{"style":80},[140],{"type":18,"value":141}," VkDisplayKHR",{"type":13,"tag":73,"props":143,"children":144},{"style":120},[145],{"type":18,"value":146},"*",{"type":13,"tag":73,"props":148,"children":149},{"style":105},[150],{"type":18,"value":151}," pDisplay",{"type":13,"tag":73,"props":153,"children":154},{"style":80},[155],{"type":18,"value":156},");\n",{"type":13,"tag":61,"props":158,"children":163},{"className":159,"code":160,"filename":161,"language":162,"meta":67,"style":67},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn get_winrt_display_nv(\n physical_device: vk::PhysicalDevice,\n device_relative_id: u32,\n p_display: *mut vk::DisplayKHR,\n) -> vk::Result;\n","Rust","rs",[164],{"type":13,"tag":21,"props":165,"children":166},{"__ignoreMap":67},[167,189,221,242,276],{"type":13,"tag":73,"props":168,"children":169},{"class":75,"line":76},[170,175,180,185],{"type":13,"tag":73,"props":171,"children":172},{"style":120},[173],{"type":18,"value":174},"pub",{"type":13,"tag":73,"props":176,"children":177},{"style":120},[178],{"type":18,"value":179}," fn",{"type":13,"tag":73,"props":181,"children":182},{"style":86},[183],{"type":18,"value":184}," get_winrt_display_nv",{"type":13,"tag":73,"props":186,"children":187},{"style":80},[188],{"type":18,"value":93},{"type":13,"tag":73,"props":190,"children":191},{"class":75,"line":96},[192,197,202,207,212,217],{"type":13,"tag":73,"props":193,"children":194},{"style":80},[195],{"type":18,"value":196}," physical_device",{"type":13,"tag":73,"props":198,"children":199},{"style":120},[200],{"type":18,"value":201},":",{"type":13,"tag":73,"props":203,"children":204},{"style":105},[205],{"type":18,"value":206}," vk",{"type":13,"tag":73,"props":208,"children":209},{"style":120},[210],{"type":18,"value":211},"::",{"type":13,"tag":73,"props":213,"children":214},{"style":105},[215],{"type":18,"value":216},"PhysicalDevice",{"type":13,"tag":73,"props":218,"children":219},{"style":80},[220],{"type":18,"value":113},{"type":13,"tag":73,"props":222,"children":223},{"class":75,"line":116},[224,229,233,238],{"type":13,"tag":73,"props":225,"children":226},{"style":80},[227],{"type":18,"value":228}," device_relative_id",{"type":13,"tag":73,"props":230,"children":231},{"style":120},[232],{"type":18,"value":201},{"type":13,"tag":73,"props":234,"children":235},{"style":105},[236],{"type":18,"value":237}," u32",{"type":13,"tag":73,"props":239,"children":240},{"style":80},[241],{"type":18,"value":113},{"type":13,"tag":73,"props":243,"children":244},{"class":75,"line":135},[245,250,254,259,263,267,272],{"type":13,"tag":73,"props":246,"children":247},{"style":80},[248],{"type":18,"value":249}," p_display",{"type":13,"tag":73,"props":251,"children":252},{"style":120},[253],{"type":18,"value":201},{"type":13,"tag":73,"props":255,"children":256},{"style":120},[257],{"type":18,"value":258}," *mut",{"type":13,"tag":73,"props":260,"children":261},{"style":105},[262],{"type":18,"value":206},{"type":13,"tag":73,"props":264,"children":265},{"style":120},[266],{"type":18,"value":211},{"type":13,"tag":73,"props":268,"children":269},{"style":105},[270],{"type":18,"value":271},"DisplayKHR",{"type":13,"tag":73,"props":273,"children":274},{"style":80},[275],{"type":18,"value":113},{"type":13,"tag":73,"props":277,"children":279},{"class":75,"line":278},5,[280,285,290,294,298,303],{"type":13,"tag":73,"props":281,"children":282},{"style":80},[283],{"type":18,"value":284},") ",{"type":13,"tag":73,"props":286,"children":287},{"style":120},[288],{"type":18,"value":289},"->",{"type":13,"tag":73,"props":291,"children":292},{"style":105},[293],{"type":18,"value":206},{"type":13,"tag":73,"props":295,"children":296},{"style":120},[297],{"type":18,"value":211},{"type":13,"tag":73,"props":299,"children":300},{"style":105},[301],{"type":18,"value":302},"Result",{"type":13,"tag":73,"props":304,"children":305},{"style":80},[306],{"type":18,"value":307},";\n",{"type":13,"tag":309,"props":310,"children":311},"ul",{},[312,323,408],{"type":13,"tag":313,"props":314,"children":315},"li",{},[316,321],{"type":13,"tag":21,"props":317,"children":319},{"className":318},[],[320],{"type":18,"value":108},{"type":18,"value":322}," The physical device on which to query the display\nhandle.",{"type":13,"tag":313,"props":324,"children":325},{},[326,332,334,345,347,357,359,370,372,383,385,391,393,399,401,406],{"type":13,"tag":21,"props":327,"children":329},{"className":328},[],[330],{"type":18,"value":331},"deviceRelativeId",{"type":18,"value":333}," The value of the\n",{"type":13,"tag":42,"props":335,"children":338},{"href":336,"rel":337},"https://docs.microsoft.com/en-us/uwp/api/windows.devices.display.core.displaytarget.adapterrelativeid",[46],[339],{"type":13,"tag":21,"props":340,"children":342},{"className":341},[],[343],{"type":18,"value":344},"AdapterRelativeId",{"type":18,"value":346},"\nproperty of a\n",{"type":13,"tag":42,"props":348,"children":350},{"href":44,"rel":349},[46],[351],{"type":13,"tag":21,"props":352,"children":354},{"className":353},[],[355],{"type":18,"value":356},"DisplayTarget",{"type":18,"value":358},"\nthat is enumerated by a\n",{"type":13,"tag":42,"props":360,"children":363},{"href":361,"rel":362},"https://docs.microsoft.com/en-us/uwp/api/windows.devices.display.core.displayadapter",[46],[364],{"type":13,"tag":21,"props":365,"children":367},{"className":366},[],[368],{"type":18,"value":369},"DisplayAdapter",{"type":18,"value":371},"\nwith an\n",{"type":13,"tag":42,"props":373,"children":376},{"href":374,"rel":375},"https://docs.microsoft.com/en-us/uwp/api/windows.devices.display.core.displayadapter.id",[46],[377],{"type":13,"tag":21,"props":378,"children":380},{"className":379},[],[381],{"type":18,"value":382},"Id",{"type":18,"value":384},"\nproperty matching the ",{"type":13,"tag":21,"props":386,"children":388},{"className":387},[],[389],{"type":18,"value":390},"deviceLUID",{"type":18,"value":392}," property of a\n",{"type":13,"tag":42,"props":394,"children":396},{"href":395},"/man/VkPhysicalDeviceIDProperties",[397],{"type":18,"value":398},"VkPhysicalDeviceIDProperties",{"type":18,"value":400}," for ",{"type":13,"tag":21,"props":402,"children":404},{"className":403},[],[405],{"type":18,"value":108},{"type":18,"value":407},".",{"type":13,"tag":313,"props":409,"children":410},{},[411,417,419,424],{"type":13,"tag":21,"props":412,"children":414},{"className":413},[],[415],{"type":18,"value":416},"pDisplay",{"type":18,"value":418}," The corresponding ",{"type":13,"tag":42,"props":420,"children":422},{"href":421},"/man/VkDisplayKHR",[423],{"type":18,"value":26},{"type":18,"value":425}," handle will be\nreturned here.",{"type":13,"tag":14,"props":427,"children":428},{},[429,431,435,437,442,444,449,451,457,459,464,466,471],{"type":18,"value":430},"If there is no ",{"type":13,"tag":42,"props":432,"children":433},{"href":421},[434],{"type":18,"value":26},{"type":18,"value":436}," corresponding to ",{"type":13,"tag":21,"props":438,"children":440},{"className":439},[],[441],{"type":18,"value":331},{"type":18,"value":443}," on\n",{"type":13,"tag":21,"props":445,"children":447},{"className":446},[],[448],{"type":18,"value":108},{"type":18,"value":450},", ",{"type":13,"tag":42,"props":452,"children":454},{"href":453},"/man/VK_NULL_HANDLE",[455],{"type":18,"value":456},"VK_NULL_HANDLE",{"type":18,"value":458}," ",{"type":13,"tag":460,"props":461,"children":463},"normative",{"type":462},"must",[],{"type":18,"value":465}," be returned in\n",{"type":13,"tag":21,"props":467,"children":469},{"className":468},[],[470],{"type":18,"value":416},{"type":18,"value":407},{"type":13,"tag":473,"props":474,"children":476},"validity-group",{"name":475},"Valid Usage (Implicit)",[477,504],{"type":13,"tag":478,"props":479,"children":481},"validity-field",{"name":480},"VUID-vkGetWinrtDisplayNV-physicalDevice-parameter",[482],{"type":13,"tag":14,"props":483,"children":484},{},[485,490,491,494,496,502],{"type":13,"tag":21,"props":486,"children":488},{"className":487},[],[489],{"type":18,"value":108},{"type":18,"value":458},{"type":13,"tag":460,"props":492,"children":493},{"type":462},[],{"type":18,"value":495}," be a valid ",{"type":13,"tag":42,"props":497,"children":499},{"href":498},"/man/VkPhysicalDevice",[500],{"type":18,"value":501},"VkPhysicalDevice",{"type":18,"value":503}," handle",{"type":13,"tag":478,"props":505,"children":507},{"name":506},"VUID-vkGetWinrtDisplayNV-pDisplay-parameter",[508],{"type":13,"tag":14,"props":509,"children":510},{},[511,516,517,520,522,526],{"type":13,"tag":21,"props":512,"children":514},{"className":513},[],[515],{"type":18,"value":416},{"type":18,"value":458},{"type":13,"tag":460,"props":518,"children":519},{"type":462},[],{"type":18,"value":521}," be a valid pointer to a ",{"type":13,"tag":42,"props":523,"children":524},{"href":421},[525],{"type":18,"value":26},{"type":18,"value":503},{"type":13,"tag":528,"props":529,"children":530},"style",{},[531],{"type":18,"value":532},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":67,"searchDepth":96,"depth":96,"links":534},[],"markdown",1729612519249]