From d070ed1f0798b7e3ec06492cdc102cdfd516a7d7 Mon Sep 17 00:00:00 2001 From: Mark Harmstone Date: Wed, 25 Oct 2023 22:26:20 +0100 Subject: [PATCH] crt: Add api-ms-win-power-limitsmanagement-l1-1-0 to onecore_apiset MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mark Harmstone Signed-off-by: Martin Storsjö --- mingw-w64-crt/Makefile.am | 1 + .../api-ms-win-power-limitsmanagement-l1-1-0.def | 14 ++++++++++++++ mingw-w64-crt/lib-common/onecore_apiset.mri | 2 +- .../api-ms-win-power-limitsmanagement-l1-1-0.def | 14 ++++++++++++++ 4 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 mingw-w64-crt/lib-common/api-ms-win-power-limitsmanagement-l1-1-0.def create mode 100644 mingw-w64-crt/lib32/api-ms-win-power-limitsmanagement-l1-1-0.def diff --git a/mingw-w64-crt/Makefile.am b/mingw-w64-crt/Makefile.am index e80e9aaa3..7b2fcbaeb 100644 --- a/mingw-w64-crt/Makefile.am +++ b/mingw-w64-crt/Makefile.am @@ -2585,6 +2585,7 @@ endif %/libapi-ms-win-oobe-notification-l1-1-0.a \ %/libapi-ms-win-perf-legacy-l1-1-0.a \ %/libapi-ms-win-power-base-l1-1-0.a \ + %/libapi-ms-win-power-limitsmanagement-l1-1-0.a \ %/libapi-ms-win-power-setting-l1-1-0.a \ %/libapi-ms-win-power-setting-l1-1-1.a \ %/libapi-ms-win-ro-typeresolution-l1-1-0.a \ diff --git a/mingw-w64-crt/lib-common/api-ms-win-power-limitsmanagement-l1-1-0.def b/mingw-w64-crt/lib-common/api-ms-win-power-limitsmanagement-l1-1-0.def new file mode 100644 index 000000000..a78b30893 --- /dev/null +++ b/mingw-w64-crt/lib-common/api-ms-win-power-limitsmanagement-l1-1-0.def @@ -0,0 +1,14 @@ +LIBRARY api-ms-win-power-limitsmanagement-l1-1-0 + +EXPORTS + +PowerCloseEnvironmentalMonitor +PowerCloseLimitsMitigation +PowerCloseLimitsPolicy +PowerRegisterEnvironmentalMonitor +PowerRegisterLimitsMitigation +PowerRegisterLimitsPolicy +PowerReportLimitsEvent +PowerUpdateEnvironmentalMonitorState +PowerUpdateEnvironmentalMonitorThresholds +PowerUpdateLimitsMitigation diff --git a/mingw-w64-crt/lib-common/onecore_apiset.mri b/mingw-w64-crt/lib-common/onecore_apiset.mri index 114a57a89..5057b2ea2 100644 --- a/mingw-w64-crt/lib-common/onecore_apiset.mri +++ b/mingw-w64-crt/lib-common/onecore_apiset.mri @@ -207,7 +207,7 @@ ADDLIB libapi-ms-win-mm-time-l1-1-0.a ADDLIB libapi-ms-win-oobe-notification-l1-1-0.a ADDLIB libapi-ms-win-perf-legacy-l1-1-0.a ADDLIB libapi-ms-win-power-base-l1-1-0.a -; FIXME libapi-ms-win-power-limitsmanagement-l1-1-0.a +ADDLIB libapi-ms-win-power-limitsmanagement-l1-1-0.a ADDLIB libapi-ms-win-power-setting-l1-1-0.a ADDLIB libapi-ms-win-power-setting-l1-1-1.a ADDLIB libapi-ms-win-ro-typeresolution-l1-1-0.a diff --git a/mingw-w64-crt/lib32/api-ms-win-power-limitsmanagement-l1-1-0.def b/mingw-w64-crt/lib32/api-ms-win-power-limitsmanagement-l1-1-0.def new file mode 100644 index 000000000..4490a0192 --- /dev/null +++ b/mingw-w64-crt/lib32/api-ms-win-power-limitsmanagement-l1-1-0.def @@ -0,0 +1,14 @@ +LIBRARY api-ms-win-power-limitsmanagement-l1-1-0 + +EXPORTS + +PowerCloseEnvironmentalMonitor@4 +PowerCloseLimitsMitigation@4 +PowerCloseLimitsPolicy@4 +PowerRegisterEnvironmentalMonitor@8 +PowerRegisterLimitsMitigation@8 +PowerRegisterLimitsPolicy@8 +PowerReportLimitsEvent@4 +PowerUpdateEnvironmentalMonitorState@12 +PowerUpdateEnvironmentalMonitorThresholds@12 +PowerUpdateLimitsMitigation@8