1 // Copyright 2018 The Fuchsia Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #pragma once 6 7 #include <stdint.h> 8 #include <zircon/device/ioctl.h> 9 #include <zircon/device/ioctl-wrapper.h> 10 #include <zircon/types.h> 11 12 #define IOCTL_DISPLAY_CONTROLLER_GET_HANDLE \ 13 IOCTL(IOCTL_KIND_GET_HANDLE, IOCTL_FAMILY_DISPLAY_CONTROLLER, 1) 14 15 IOCTL_WRAPPER_OUT(ioctl_display_controller_get_handle, 16 IOCTL_DISPLAY_CONTROLLER_GET_HANDLE, zx_handle_t); 17 18 #define IMAGE_TYPE_SIMPLE UINT32_C(0) 19 #define INVALID_ID 0 20