VkSurfaceCreateInfoOHOS(3)

# VkSurfaceCreateInfoOHOS(3) Manual Page

## Name

VkSurfaceCreateInfoOHOS - The parameters for surface creation on Open Harmony OS platform

## C Specification

The `VkSurfaceCreateInfoOHOS` structure is defined as:

    // Provided by VK_OHOS_surface
    typedef struct VkSurfaceCreateInfoOHOS {
        VkStructureType             sType;
        const void*                 pNext;
        VkSurfaceCreateFlagsOHOS    flags;
        OHNativeWindow*             window;
    } VkSurfaceCreateInfoOHOS;

## Members

- `sType` is a VkStructureType value identifying this structure.

- `pNext` is `NULL` or a pointer to a structure extending this structure.

- `flags` is reserved for future use.

- `window`: is a pointer to a OHNativeWindow to associate the surface with.

## Description

Valid Usage (Implicit)

- VUID-VkSurfaceCreateInfoOHOS-sType-sType
  `sType` must be VK_STRUCTURE_TYPE_SURFACE_CREATE_INFO_OHOS

- VUID-VkSurfaceCreateInfoOHOS-pNext-pNext
  `pNext` must be `NULL`

- VUID-VkSurfaceCreateInfoOHOS-flags-zerobitmask
  `flags` must be `0`

## See Also

VK_OHOS_surface, VkStructureType, VkSurfaceCreateFlagsOHOS, vkCreateSurfaceOHOS

## Document Notes

For more information, see the Vulkan Specification.

This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.

## Copyright

Copyright 2014-2026 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0