13 #ifndef __HII_DATABASE_H__ 14 #define __HII_DATABASE_H__ 18 #define EFI_HII_DATABASE_PROTOCOL_GUID \ 19 { 0xef9fc172, 0xa1b2, 0x4693, { 0xb3, 0x27, 0x6d, 0x32, 0xfc, 0x41, 0x60, 0x42 } } 28 #define EFI_HII_DATABASE_NOTIFY_NEW_PACK 0x00000001 29 #define EFI_HII_DATABASE_NOTIFY_REMOVE_PACK 0x00000002 30 #define EFI_HII_DATABASE_NOTIFY_EXPORT_PACK 0x00000004 31 #define EFI_HII_DATABASE_NOTIFY_ADD_PACK 0x00000008 UINTN EFI_HII_DATABASE_NOTIFY_TYPE
EFI_HII_DATABASE_NOTIFY_TYPE.
#define OPTIONAL
Passing the datum to the function is optional, and a NULL is passed if the value is not supplied.
EFI_GUID gEfiHiiDatabaseProtocolGuid
EFI_STATUS(EFIAPI * EFI_HII_DATABASE_UPDATE_PACK)(IN CONST EFI_HII_DATABASE_PROTOCOL *This, IN EFI_HII_HANDLE Handle, IN CONST EFI_HII_PACKAGE_LIST_HEADER *PackageList)
This function updates the existing package list (which has the specified Handle) in the HII databases...
EFI_HII_DATABASE_UPDATE_PACK UpdatePackageList
EFI_STATUS(EFIAPI * EFI_HII_DATABASE_NEW_PACK)(IN CONST EFI_HII_DATABASE_PROTOCOL *This, IN CONST EFI_HII_PACKAGE_LIST_HEADER *PackageList, IN EFI_HANDLE DriverHandle OPTIONAL, OUT EFI_HII_HANDLE *Handle)
This function adds the packages in the package list to the database and returns a handle.
128 bit buffer containing a unique identifier value.
EFI_HII_SET_KEYBOARD_LAYOUT SetKeyboardLayout
EFI_HII_DATABASE_REMOVE_PACK RemovePackageList
EFI_HII_DATABASE_GET_PACK_HANDLE GetPackageListHandle
EFI_STATUS(EFIAPI * EFI_HII_DATABASE_REMOVE_PACK)(IN CONST EFI_HII_DATABASE_PROTOCOL *This, IN EFI_HII_HANDLE Handle)
This function removes the package list that is associated with a handle Handle from the HII database.
FILE_LICENCE(BSD2_PATENT)
UINT16_t BufferSize
Buffer size.
EFI_STATUS(EFIAPI * EFI_HII_FIND_KEYBOARD_LAYOUTS)(IN CONST EFI_HII_DATABASE_PROTOCOL *This, IN OUT UINT16 *KeyGuidBufferLength, OUT EFI_GUID *KeyGuidBuffer)
This routine retrieves an array of GUID values for each keyboard layout that was previously registere...
EFI_HII_GET_KEYBOARD_LAYOUT GetKeyboardLayout
Database manager for HII-related data structures.
EFI_HII_DATABASE_REGISTER_NOTIFY RegisterPackageNotify
EFI_STATUS(EFIAPI * EFI_HII_DATABASE_LIST_PACKS)(IN CONST EFI_HII_DATABASE_PROTOCOL *This, IN UINT8 PackageType, IN CONST EFI_GUID *PackageGuid, IN OUT UINTN *HandleBufferLength, OUT EFI_HII_HANDLE *Handle)
This function returns a list of the package handles of the specified type that are currently active i...
EFI_STATUS(EFIAPI * EFI_HII_DATABASE_EXPORT_PACKS)(IN CONST EFI_HII_DATABASE_PROTOCOL *This, IN EFI_HII_HANDLE Handle, IN OUT UINTN *BufferSize, OUT EFI_HII_PACKAGE_LIST_HEADER *Buffer)
This function will export one or all package lists in the database to a buffer.
EFI_HII_DATABASE_UNREGISTER_NOTIFY UnregisterPackageNotify
SEGOFF16_t Buffer
Buffer address.
UINT64 UINTN
Unsigned value of native width.
EFI_STATUS(EFIAPI * EFI_HII_DATABASE_REGISTER_NOTIFY)(IN CONST EFI_HII_DATABASE_PROTOCOL *This, IN UINT8 PackageType, IN CONST EFI_GUID *PackageGuid, IN EFI_HII_DATABASE_NOTIFY PackageNotifyFn, IN EFI_HII_DATABASE_NOTIFY_TYPE NotifyType, OUT EFI_HANDLE *NotifyHandle)
This function registers a function which will be called when specified actions related to packages of...
EFI_STATUS(EFIAPI * EFI_HII_DATABASE_GET_PACK_HANDLE)(IN CONST EFI_HII_DATABASE_PROTOCOL *This, IN EFI_HII_HANDLE PackageListHandle, OUT EFI_HANDLE *DriverHandle)
Return the EFI handle associated with a package list.
#define CONST
Datum is read-only.
RETURN_STATUS EFI_STATUS
Function return status for EFI API.
EFI_STATUS(EFIAPI * EFI_HII_DATABASE_UNREGISTER_NOTIFY)(IN CONST EFI_HII_DATABASE_PROTOCOL *This, IN EFI_HANDLE NotificationHandle)
Removes the specified HII database package-related notification.
EFI_HII_FIND_KEYBOARD_LAYOUTS FindKeyboardLayouts
EFI_HII_DATABASE_NEW_PACK NewPackageList
EFI_HII_DATABASE_LIST_PACKS ListPackageLists
EFI_STATUS(EFIAPI * EFI_HII_GET_KEYBOARD_LAYOUT)(IN CONST EFI_HII_DATABASE_PROTOCOL *This, IN CONST EFI_GUID *KeyGuid, IN OUT UINT16 *KeyboardLayoutLength, OUT EFI_HII_KEYBOARD_LAYOUT *KeyboardLayout)
This routine retrieves the requested keyboard layout.
EFI_HII_DATABASE_EXPORT_PACKS ExportPackageLists
EFI_STATUS(EFIAPI * EFI_HII_SET_KEYBOARD_LAYOUT)(IN CONST EFI_HII_DATABASE_PROTOCOL *This, IN CONST EFI_GUID *KeyGuid)
This routine sets the default keyboard layout to the one referenced by KeyGuid.
EFI_STATUS(EFIAPI * EFI_HII_DATABASE_NOTIFY)(IN UINT8 PackageType, IN CONST EFI_GUID *PackageGuid, IN CONST EFI_HII_PACKAGE_HEADER *Package, IN EFI_HII_HANDLE Handle, IN EFI_HII_DATABASE_NOTIFY_TYPE NotifyType)
Functions which are registered to receive notification of database events have this prototype.