Function Prototype

vkGetPhysicalDeviceWin32PresentationSupportKHR

Query queue family support for presentation on a Win32 display

To determine whether a queue family of a physical device supports presentation to the Microsoft Windows desktop, call:

VkBool32 vkGetPhysicalDeviceWin32PresentationSupportKHR(
    VkPhysicalDevice physicalDevice,
    uint32_t queueFamilyIndex);
  • physicalDevice is the physical device.
  • queueFamilyIndex is the queue family index.

This platform-specific function can be called prior to creating a surface.

Valid Usage

VUID-vkGetPhysicalDeviceWin32PresentationSupportKHR-queueFamilyIndex-01309

queueFamilyIndex must be less than pQueueFamilyPropertyCount returned by vkGetPhysicalDeviceQueueFamilyProperties for the given physicalDevice