# vkDisplayPowerControlEXT(3) Manual Page

## Name

vkDisplayPowerControlEXT - Set the power state of a display

## C Specification

To set the power state of a display, call:

    VkResult vkDisplayPowerControlEXT(
        VkDevice                                    device,
        VkDisplayKHR                                display,
        const VkDisplayPowerInfoEXT*                pDisplayPowerInfo);

## Parameters

- `device` is a logical device associated with `display`.

- `display` is the display whose power state is modified.

- `pDisplayPowerInfo` is a VkDisplayPowerInfoEXT structure specifying the new power state of `display`.

## Description

Valid Usage (Implicit)

- `device` must be a valid VkDevice handle

- `display` must be a valid VkDisplayKHR handle

- `pDisplayPowerInfo` must be a valid pointer to a valid VkDisplayPowerInfoEXT structure

- Both of `device`, and `display` must have been created, allocated, or retrieved from the same VkPhysicalDevice

Return Codes

On success, this command returns

  - `VK_SUCCESS`

## See Also

VkDevice, VkDisplayKHR, VkDisplayPowerInfoEXT

## 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 (c) 2014-2020 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.