mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 09:52:56 +00:00
[KERNEL32][KERNEL32_APITEST] Implement user-mode UEFI / Firmware API (#5149)
- Implement firmware environment variable read/write APIs - Add, fix and improve related definitions and declarations - Add kernel32:UEFIFirmware apitest CORE-11954
This commit is contained in:
parent
961893a712
commit
4c8a2a8815
10 changed files with 618 additions and 102 deletions
|
@ -346,3 +346,14 @@ $if (_NTIFS_)
|
|||
#define EX_PUSH_LOCK ULONG_PTR
|
||||
#define PEX_PUSH_LOCK PULONG_PTR
|
||||
$endif (_NTIFS_)
|
||||
|
||||
$if (_WINNT_ || _WDMDDK_)
|
||||
#if (NTDDI_VERSION >= NTDDI_VISTA)
|
||||
typedef enum _FIRMWARE_TYPE {
|
||||
FirmwareTypeUnknown,
|
||||
FirmwareTypeBios,
|
||||
FirmwareTypeUefi,
|
||||
FirmwareTypeMax
|
||||
} FIRMWARE_TYPE, *PFIRMWARE_TYPE;
|
||||
#endif /* (NTDDI_VERSION >= NTDDI_VISTA) */
|
||||
$endif (_WINNT_ || _WDMDDK_)
|
||||
|
|
|
@ -73,6 +73,7 @@ $define(UCHAR=BYTE)
|
|||
$include(ntbasedef.h)
|
||||
$include(interlocked.h)
|
||||
$include(ketypes.h)
|
||||
$include(extypes.h)
|
||||
$include(winnt_old.h)
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue