audk/MdePkg/Include/Uefi
Rebecca Cran 11f0014c0e MdePkg: Label CreateEvent NotifyFunction and NotifyContext optional
According to the UEFI 2.10 Specification, the EFI_BOOT_SERVICES_TABLE
CreateEvent function has the following signature:

typedef
EFI_STATUS
(EFIAPI *EFI_CREATE_EVENT) (
  IN UINT32           Type,
  IN EFI_TPL          NotifyTpl,
  IN EFI_EVENT_NOTIFY NotifyFunction, OPTIONAL
  IN VOID             *NotifyContext, OPTIONAL
  OUT EFI_EVENT       *Event
);

Fix the prototype in UefiSpec.h to match, by labeling the NotifyFunction
and NotifyContext parameters as OPTIONAL.

Signed-off-by: Rebecca Cran <rebecca@bsdio.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
2023-02-03 07:41:01 +00:00
..
UefiAcpiDataTable.h MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
UefiBaseType.h MdePkg/Include: LoongArch definitions. 2022-10-14 02:16:33 +00:00
UefiGpt.h MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
UefiInternalFormRepresentation.h MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
UefiMultiPhase.h MdePkg: Add UEFI Unaccepted memory definition 2022-11-01 10:08:10 +00:00
UefiPxe.h MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
UefiSpec.h MdePkg: Label CreateEvent NotifyFunction and NotifyContext optional 2023-02-03 07:41:01 +00:00