Skip to content

Commit 70a79c4

Browse files
authored
Merge pull request #26142 from compnerd/autolink-phase-2
Platform: extend WinSDK further
2 parents b28b44b + 84f9eed commit 70a79c4

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

stdlib/public/Platform/winsdk.modulemap

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ module WinSDK [system] [extern_c] {
2525
export *
2626
}
2727

28+
module compress {
29+
header "compressapi.h"
30+
export *
31+
}
32+
2833
module console {
2934
header "consoleapi.h"
3035
export *
@@ -111,6 +116,13 @@ module WinSDK [system] [extern_c] {
111116
}
112117
}
113118

119+
module AuthZ {
120+
header "AuthZ.h"
121+
export *
122+
123+
link "authz.lib"
124+
}
125+
114126
module CommCtrl {
115127
header "CommCtrl.h"
116128
export *
@@ -122,13 +134,28 @@ module WinSDK [system] [extern_c] {
122134
export *
123135
}
124136

137+
module DFS {
138+
header "LMDFS.h"
139+
header "LM.h"
140+
export *
141+
142+
link "NetAPi32.lib"
143+
}
144+
125145
module DbgHelp {
126146
header "DbgHelp.h"
127147
export *
128148

129149
link "DbgHelp.lib"
130150
}
131151

152+
module FCI {
153+
header "fci.h"
154+
export *
155+
156+
link "cabinet.lib"
157+
}
158+
132159
module Shell {
133160
header "ShlObj.h"
134161
export *
@@ -141,6 +168,13 @@ module WinSDK [system] [extern_c] {
141168
link "ShLwApi.lib"
142169
}
143170

171+
module OLE32 {
172+
header "oaidl.h"
173+
export *
174+
175+
link "OleAut32.lib"
176+
}
177+
144178
module User {
145179
header "WinUser.h"
146180
export *
@@ -152,5 +186,19 @@ module WinSDK [system] [extern_c] {
152186

153187
link "Crypt32.lib"
154188
}
189+
190+
module WinDNS {
191+
header "WinDNS.h"
192+
export *
193+
194+
link "Dnsapi.lib"
195+
}
196+
197+
module WinReg {
198+
header "winreg.h"
199+
export *
200+
201+
link "Advapi32.lib"
202+
}
155203
}
156204

0 commit comments

Comments
 (0)