crt: Add cut-down wtsapi32 to onecore

Signed-off-by: Mark Harmstone <mark@harmstone.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
Mark Harmstone 2024-01-04 23:35:37 +00:00 committed by Martin Storsjö
parent 34ff6fdc3a
commit bdedaabf2c
4 changed files with 38 additions and 0 deletions

View File

@ -2528,6 +2528,7 @@ endif
%/libwldap32.a \
%/libwpprecorderum.a \
%/libws2_32.a \
%/libwtsapi32_onecore.a \
%/libxmllite.a
rm -f $@
cd $(dir $@) && $(AR) -M < $(abspath $<)

View File

@ -110,6 +110,7 @@ ADDLIB libwkscli.a
ADDLIB libwldap32.a
ADDLIB libwpprecorderum.a
ADDLIB libws2_32.a
ADDLIB libwtsapi32_onecore.a
ADDLIB libxmllite.a
SAVE
END

View File

@ -0,0 +1,18 @@
LIBRARY "WTSAPI32.dll"
EXPORTS
WTSDisconnectSession
WTSEnumerateProcessesExW
WTSEnumerateProcessesW
WTSEnumerateSessionsExW
WTSEnumerateSessionsW
WTSFreeMemory
WTSFreeMemoryExW
WTSLogoffSession
WTSQuerySessionInformationW
WTSQueryUserToken
WTSRegisterSessionNotification
WTSUnRegisterSessionNotification
WTSVirtualChannelClose
WTSVirtualChannelOpen
WTSVirtualChannelOpenEx
WTSVirtualChannelQuery

View File

@ -0,0 +1,18 @@
LIBRARY "WTSAPI32.dll"
EXPORTS
WTSDisconnectSession@12
WTSEnumerateProcessesExW@20
WTSEnumerateProcessesW@20
WTSEnumerateSessionsExW@20
WTSEnumerateSessionsW@20
WTSFreeMemory@4
WTSFreeMemoryExW@12
WTSLogoffSession@12
WTSQuerySessionInformationW@20
WTSQueryUserToken@8
WTSRegisterSessionNotification@8
WTSUnRegisterSessionNotification@4
WTSVirtualChannelClose@4
WTSVirtualChannelOpen@12
WTSVirtualChannelOpenEx@12
WTSVirtualChannelQuery@16