# VkOHSurfaceCreateInfoOHOS(3) Manual Page

## Name

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

Loading… please wait.

## C Specification

The `VkOHSurfaceCreateInfoOHOS` structure is defined as:

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

- `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`: the pointer to a OHNativeWindow to associate the surface with.

or the equivalent

    // Provided by VK_OHOS_surface
    typedef VkOHSurfaceCreateInfoOHOS VkSurfaceCreateInfoOHOS;

## Members

## Description

Valid Usage (Implicit)

- VUID-VkOHSurfaceCreateInfoOHOS-sType-sType
  `sType` must be `VK_STRUCTURE_TYPE_OH_SURFACE_CREATE_INFO_OHOS`

- VUID-VkOHSurfaceCreateInfoOHOS-pNext-pNext
  `pNext` must be `NULL`

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

## See Also

VK_OHOS_surface, VkStructureType, VkSurfaceCreateFlagsOHOS

## 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-2025 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0