# lv_uefi_display.h (/api/drivers/uefi/lv_uefi_display_h)



<ApiSummary functions="3" />

Functions [#functions]

<ApiTabs items="[&#x22;Getters (2)&#x22;,&#x22;Other (1)&#x22;]">
  <ApiTab value="Getters (2)">
    <ApiMember kind="function" name="lv_uefi_display_get_active" file="drivers/uefi/lv_uefi_display.h" line="47" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/drivers/uefi/lv_uefi_display.h#L47">
      lv_uefi_display_get_active [#lv_uefi_display_get_active]

      Try to find the active display handle.

      ```c title=" " lineNumbers=1
      void * lv_uefi_display_get_active(void)
      ```

      **Returns:** `void *` — The handle or NULL if not found.

      <Callout type="info">
        **Remark:** The active display need interfaces for EFI\_GRAPHICS\_OUTPUT\_PROTOCOL and EFI\_EDID\_ACTIVE\_PROTOCOL
      </Callout>
    </ApiMember>

    <ApiMember kind="function" name="lv_uefi_display_get_any" file="drivers/uefi/lv_uefi_display.h" line="53" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/drivers/uefi/lv_uefi_display.h#L53">
      lv_uefi_display_get_any [#lv_uefi_display_get_any]

      Try to find any display handle.

      ```c title=" " lineNumbers=1
      void * lv_uefi_display_get_any(void)
      ```

      **Returns:** `void *` — The handle or NULL if not found.
    </ApiMember>
  </ApiTab>

  <ApiTab value="Other (1)">
    <ApiMember kind="function" name="lv_uefi_display_create" file="drivers/uefi/lv_uefi_display.h" line="40" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/drivers/uefi/lv_uefi_display.h#L40">
      lv_uefi_display_create [#lv_uefi_display_create]

      Create a LVGL display object.

      ```c title=" " lineNumbers=1
      lv_display_t * lv_uefi_display_create(void *handle)
      ```

      <span className="sr-only">
        Parameters
      </span>

      | Name     | Type     | Description                                                                                   |
      | -------- | -------- | --------------------------------------------------------------------------------------------- |
      | `handle` | `void *` | The handle on which an instance of the EFI\_GRAPHICS\_OUTPUT\_PROTOCOL protocol is installed. |

      **Returns:** <ApiLink name="lv_display_t" display="lv_display_t *" /> — The created LVGL display object.
    </ApiMember>
  </ApiTab>
</ApiTabs>

Dependencies [#dependencies]

<FileIncludes includes="[&#x22;lv_display.h&#x22;, &#x22;lv_uefi.h&#x22;]" includedBy="[&#x22;lv_drivers.h&#x22;]" transitiveIncludes="[&#x22;lv_area.h&#x22;, &#x22;lv_array.h&#x22;, &#x22;lv_assert.h&#x22;, &#x22;lv_color.h&#x22;, &#x22;lv_color_op.h&#x22;, &#x22;lv_conf_internal.h&#x22;, &#x22;lv_conf_kconfig.h&#x22;, &#x22;lv_event.h&#x22;, &#x22;lv_ll.h&#x22;, &#x22;lv_log.h&#x22;, &#x22;lv_math.h&#x22;, &#x22;lv_mem.h&#x22;, &#x22;lv_palette.h&#x22;, &#x22;lv_string.h&#x22;, &#x22;lv_tick.h&#x22;, &#x22;lv_timer.h&#x22;, &#x22;lv_types.h&#x22;]" />
