1// Copyright 2014-2021 The Khronos Group, Inc. 2// 3// SPDX-License-Identifier: CC-BY-4.0 4 5[[platformQuerySupport_win32,platformQuerySupport_win32]] 6=== Win32 Platform 7 8[open,refpage='vkGetPhysicalDeviceWin32PresentationSupportKHR',desc='Query queue family support for presentation on a Win32 display',type='protos'] 9-- 10To determine whether a queue family of a physical device supports 11presentation to the Microsoft Windows desktop, call: 12 13include::{generated}/api/protos/vkGetPhysicalDeviceWin32PresentationSupportKHR.txt[] 14 15 * pname:physicalDevice is the physical device. 16 * pname:queueFamilyIndex is the queue family index. 17 18This platform-specific function can: be called prior to creating a surface. 19 20.Valid Usage 21**** 22 * [[VUID-vkGetPhysicalDeviceWin32PresentationSupportKHR-queueFamilyIndex-01309]] 23 pname:queueFamilyIndex must: be less than 24 pname:pQueueFamilyPropertyCount returned by 25 fname:vkGetPhysicalDeviceQueueFamilyProperties for the given 26 pname:physicalDevice 27**** 28 29include::{generated}/validity/protos/vkGetPhysicalDeviceWin32PresentationSupportKHR.txt[] 30-- 31