TianoCore EDK2 master
Loading...
Searching...
No Matches
WinGopInput.c File Reference
#include "WinGop.h"

Go to the source code of this file.

Functions

EFI_STATUS GopPrivateCreateQ (IN GRAPHICS_PRIVATE_DATA *Private, IN GOP_QUEUE_FIXED *Queue)
 
EFI_STATUS GopPrivateDestroyQ (IN GRAPHICS_PRIVATE_DATA *Private, IN GOP_QUEUE_FIXED *Queue)
 
EFI_STATUS GopPrivateAddQ (IN GRAPHICS_PRIVATE_DATA *Private, IN GOP_QUEUE_FIXED *Queue, IN EFI_KEY_DATA *KeyData)
 
EFI_STATUS GopPrivateDeleteQ (IN GRAPHICS_PRIVATE_DATA *Private, IN GOP_QUEUE_FIXED *Queue, OUT EFI_KEY_DATA *Key)
 
EFI_STATUS GopPrivateCheckQ (IN GOP_QUEUE_FIXED *Queue)
 
VOID InitializeKeyState (IN GRAPHICS_PRIVATE_DATA *Private, IN EFI_KEY_STATE *KeyState)
 
EFI_STATUS GopPrivateAddKey (IN GRAPHICS_PRIVATE_DATA *Private, IN EFI_INPUT_KEY Key)
 
EFI_STATUS EFIAPI WinNtWndCheckKey (IN EMU_GRAPHICS_WINDOW_PROTOCOL *GraphicsIo)
 
EFI_STATUS EFIAPI WinNtWndGetKey (IN EMU_GRAPHICS_WINDOW_PROTOCOL *GraphicsIo, IN EFI_KEY_DATA *KeyData)
 
EFI_STATUS EFIAPI WinNtWndKeySetState (IN EMU_GRAPHICS_WINDOW_PROTOCOL *GraphicsIo, IN EFI_KEY_TOGGLE_STATE *KeyToggleState)
 
EFI_STATUS EFIAPI WinNtWndRegisterKeyNotify (IN EMU_GRAPHICS_WINDOW_PROTOCOL *GraphicsIo, IN EMU_GRAPHICS_WINDOW_REGISTER_KEY_NOTIFY_CALLBACK MakeCallBack, IN EMU_GRAPHICS_WINDOW_REGISTER_KEY_NOTIFY_CALLBACK BreakCallBack, IN VOID *Context)
 
EFI_STATUS EFIAPI WinNtWndCheckPointer (IN EMU_GRAPHICS_WINDOW_PROTOCOL *GraphicsIo)
 
EFI_STATUS EFIAPI WinNtWndGetPointerState (IN EMU_GRAPHICS_WINDOW_PROTOCOL *GraphicsIo, IN EFI_SIMPLE_POINTER_STATE *State)
 

Detailed Description

Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Module Name:

WinGopInput.c

Abstract:

This file produces the Simple Text In for an Gop window.

This stuff is linked at the hip to the Window, since the window processing is done in a thread kicked off in WinNtGopImplementation.c

Since the window information is processed in an other thread we need a keyboard Queue to pass data about. The Simple Text In code just takes data off the Queue. The WinProc message loop takes keyboard input and places it in the Queue.

Definition in file WinGopInput.c.

Function Documentation

◆ GopPrivateAddKey()

EFI_STATUS GopPrivateAddKey ( IN GRAPHICS_PRIVATE_DATA Private,
IN EFI_INPUT_KEY  Key 
)

TODO: Add function description

Parameters
PrivateTODO: add argument description
KeyTODO: add argument description
Return values
EFI_NOT_READYTODO: Add description for return value
EFI_SUCCESSTODO: Add description for return value

Definition at line 247 of file WinGopInput.c.

◆ GopPrivateAddQ()

EFI_STATUS GopPrivateAddQ ( IN GRAPHICS_PRIVATE_DATA Private,
IN GOP_QUEUE_FIXED Queue,
IN EFI_KEY_DATA KeyData 
)

TODO: Add function description

Parameters
PrivateTODO: add argument description
KeyTODO: add argument description
Return values
EFI_NOT_READYTODO: Add description for return value
EFI_SUCCESSTODO: Add description for return value

Definition at line 78 of file WinGopInput.c.

◆ GopPrivateCheckQ()

EFI_STATUS GopPrivateCheckQ ( IN GOP_QUEUE_FIXED Queue)

TODO: Add function description

Parameters
PrivateTODO: add argument description
Return values
EFI_NOT_READYTODO: Add description for return value
EFI_SUCCESSTODO: Add description for return value

Definition at line 150 of file WinGopInput.c.

◆ GopPrivateCreateQ()

EFI_STATUS GopPrivateCreateQ ( IN GRAPHICS_PRIVATE_DATA Private,
IN GOP_QUEUE_FIXED Queue 
)

TODO: Add function description

Parameters
PrivateTODO: add argument description
Return values
EFI_SUCCESSTODO: Add description for return value

Definition at line 36 of file WinGopInput.c.

◆ GopPrivateDeleteQ()

EFI_STATUS GopPrivateDeleteQ ( IN GRAPHICS_PRIVATE_DATA Private,
IN GOP_QUEUE_FIXED Queue,
OUT EFI_KEY_DATA Key 
)

TODO: Add function description

Parameters
PrivateTODO: add argument description
KeyTODO: add argument description
Return values
EFI_NOT_READYTODO: Add description for return value
EFI_SUCCESSTODO: Add description for return value

Definition at line 109 of file WinGopInput.c.

◆ GopPrivateDestroyQ()

EFI_STATUS GopPrivateDestroyQ ( IN GRAPHICS_PRIVATE_DATA Private,
IN GOP_QUEUE_FIXED Queue 
)

TODO: Add function description

Parameters
PrivateTODO: add argument description
Return values
EFI_SUCCESSTODO: Add description for return value

Definition at line 56 of file WinGopInput.c.

◆ InitializeKeyState()

VOID InitializeKeyState ( IN GRAPHICS_PRIVATE_DATA Private,
IN EFI_KEY_STATE KeyState 
)

Initialize the key state.

Parameters
PrivateThe GOP_PRIVATE_DATA instance.
KeyStateA pointer to receive the key state information.

Definition at line 168 of file WinGopInput.c.

◆ WinNtWndCheckKey()

EFI_STATUS EFIAPI WinNtWndCheckKey ( IN EMU_GRAPHICS_WINDOW_PROTOCOL GraphicsIo)

Definition at line 291 of file WinGopInput.c.

◆ WinNtWndCheckPointer()

EFI_STATUS EFIAPI WinNtWndCheckPointer ( IN EMU_GRAPHICS_WINDOW_PROTOCOL GraphicsIo)

Definition at line 420 of file WinGopInput.c.

◆ WinNtWndGetKey()

EFI_STATUS EFIAPI WinNtWndGetKey ( IN EMU_GRAPHICS_WINDOW_PROTOCOL GraphicsIo,
IN EFI_KEY_DATA KeyData 
)

Definition at line 304 of file WinGopInput.c.

◆ WinNtWndGetPointerState()

EFI_STATUS EFIAPI WinNtWndGetPointerState ( IN EMU_GRAPHICS_WINDOW_PROTOCOL GraphicsIo,
IN EFI_SIMPLE_POINTER_STATE State 
)

Definition at line 437 of file WinGopInput.c.

◆ WinNtWndKeySetState()

EFI_STATUS EFIAPI WinNtWndKeySetState ( IN EMU_GRAPHICS_WINDOW_PROTOCOL GraphicsIo,
IN EFI_KEY_TOGGLE_STATE KeyToggleState 
)

Definition at line 361 of file WinGopInput.c.

◆ WinNtWndRegisterKeyNotify()

EFI_STATUS EFIAPI WinNtWndRegisterKeyNotify ( IN EMU_GRAPHICS_WINDOW_PROTOCOL GraphicsIo,
IN EMU_GRAPHICS_WINDOW_REGISTER_KEY_NOTIFY_CALLBACK  MakeCallBack,
IN EMU_GRAPHICS_WINDOW_REGISTER_KEY_NOTIFY_CALLBACK  BreakCallBack,
IN VOID *  Context 
)

Definition at line 396 of file WinGopInput.c.