OpenCore
1.0.4
OpenCore Bootloader
|
#include <Uefi.h>
#include <Library/BaseLib.h>
#include <Library/DebugLib.h>
#include <Library/OcBootManagementLib.h>
#include <Library/OcPngLib.h>
#include <Library/OcFileLib.h>
#include <Library/OcMiscLib.h>
#include <Library/PrintLib.h>
#include <Library/TimerLib.h>
#include <Library/UefiDriverEntryPoint.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Library/UefiRuntimeServicesTableLib.h>
#include <Protocol/AppleEvent.h>
#include <Protocol/GraphicsOutput.h>
#include <Protocol/OcBootstrap.h>
#include <Protocol/SimpleTextInEx.h>
#include <Protocol/SimpleFileSystem.h>
Go to the source code of this file.
Macros | |
#define | STATUS_SQUARE_SIDE 5 |
Functions | |
STATIC EFI_STATUS EFIAPI | ShowStatus (IN UINT8 Red, IN UINT8 Green, IN UINT8 Blue) |
STATIC EFI_STATUS EFIAPI | TakeScreenshot (IN EFI_KEY_DATA *KeyData) |
STATIC VOID EFIAPI | AppleEventKeyHandler (IN APPLE_EVENT_INFORMATION *Information, IN VOID *NotifyContext) |
STATIC EFI_STATUS | InstallKeyHandler (VOID) |
VOID EFIAPI | InstallKeyHandlerWrapper (IN EFI_EVENT Event, IN VOID *Context) |
EFI_STATUS EFIAPI | CrScreenshotDxeEntry (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable) |
Variables | |
STATIC EFI_EVENT | mProtocolNotification |
STATIC UINT64 | mPreviousTime = 0 |
STATIC BOOLEAN | mEnableMouseClick = FALSE |
#define STATUS_SQUARE_SIDE 5 |
STATIC VOID EFIAPI AppleEventKeyHandler | ( | IN APPLE_EVENT_INFORMATION * | Information, |
IN VOID * | NotifyContext ) |
Definition at line 323 of file CrScreenshotDxe.c.
EFI_STATUS EFIAPI CrScreenshotDxeEntry | ( | IN EFI_HANDLE | ImageHandle, |
IN EFI_SYSTEM_TABLE * | SystemTable ) |
Definition at line 531 of file CrScreenshotDxe.c.
STATIC EFI_STATUS InstallKeyHandler | ( | VOID | ) |
Definition at line 368 of file CrScreenshotDxe.c.
VOID EFIAPI InstallKeyHandlerWrapper | ( | IN EFI_EVENT | Event, |
IN VOID * | Context ) |
Definition at line 520 of file CrScreenshotDxe.c.
STATIC EFI_STATUS EFIAPI ShowStatus | ( | IN UINT8 | Red, |
IN UINT8 | Green, | ||
IN UINT8 | Blue ) |
Definition at line 55 of file CrScreenshotDxe.c.
STATIC EFI_STATUS EFIAPI TakeScreenshot | ( | IN EFI_KEY_DATA * | KeyData | ) |
< Size in pixels
< Size in bytes
< Yellow
< Red
< Red
< Red
< Red
< Green
Definition at line 151 of file CrScreenshotDxe.c.
STATIC BOOLEAN mEnableMouseClick = FALSE |
Definition at line 50 of file CrScreenshotDxe.c.
STATIC UINT64 mPreviousTime = 0 |
Definition at line 49 of file CrScreenshotDxe.c.
STATIC EFI_EVENT mProtocolNotification |
Definition at line 47 of file CrScreenshotDxe.c.