X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FInclude%2FProtocol%2FSimplePointer.h;h=5d22bf6e4496b9ff7b979b587e066333c7c7ed95;hb=db5d3dbd76b6fe8bfaf4b85de792e9e18d5175ad;hp=1061ff0cf8752c1daceffebd97f0433be92dbb06;hpb=842f5579c7e2a313f56c576e4c5150f7f4793079;p=mirror_edk2.git diff --git a/MdePkg/Include/Protocol/SimplePointer.h b/MdePkg/Include/Protocol/SimplePointer.h index 1061ff0cf8..5d22bf6e44 100644 --- a/MdePkg/Include/Protocol/SimplePointer.h +++ b/MdePkg/Include/Protocol/SimplePointer.h @@ -1,9 +1,9 @@ /** @file - Simple Pointer protocol from the EFI 1.1 specification. + Simple Pointer protocol from the UEFI 2.0 specification. Abstraction of a very simple pointer device like a mice or tracekballs. - Copyright (c) 2006, Intel Corporation + Copyright (c) 2006 - 2008, Intel Corporation All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -57,7 +57,7 @@ typedef struct { **/ typedef EFI_STATUS -(EFIAPI *EFI_SIMPLE_POINTER_RESET) ( +(EFIAPI *EFI_SIMPLE_POINTER_RESET)( IN EFI_SIMPLE_POINTER_PROTOCOL *This, IN BOOLEAN ExtendedVerification ); @@ -78,15 +78,28 @@ EFI_STATUS **/ typedef EFI_STATUS -(EFIAPI *EFI_SIMPLE_POINTER_GET_STATE) ( +(EFIAPI *EFI_SIMPLE_POINTER_GET_STATE)( IN EFI_SIMPLE_POINTER_PROTOCOL *This, IN OUT EFI_SIMPLE_POINTER_STATE *State ); +/// +/// The EFI_SIMPLE_POINTER_PROTOCOL provides a set of services for a pointer +/// device that can use used as an input device from an application written +/// to this specification. The services include the ability to reset the +/// pointer device, retrieve get the state of the pointer device, and +/// retrieve the capabilities of the pointer device. +/// struct _EFI_SIMPLE_POINTER_PROTOCOL { EFI_SIMPLE_POINTER_RESET Reset; EFI_SIMPLE_POINTER_GET_STATE GetState; + /// + /// Event to use with WaitForEvent() to wait for input from the pointer device. + /// EFI_EVENT WaitForInput; + /// + /// Pointer to EFI_SIMPLE_POINTER_MODE data. + /// EFI_SIMPLE_POINTER_MODE *Mode; };