Skip to content

Commit 5919346

Browse files
committed
Platform: add UserEnv module to WinSDK
This allows access to the `GetUserProfileDirectoryW` API which is required for the swift-foundation implementation on Windows.
1 parent b8c6442 commit 5919346

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

stdlib/public/Platform/winsdk.modulemap

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,12 @@ module WinSDK [system] {
468468
link "User32.Lib"
469469
}
470470

471+
module UserEnv {
472+
header "UserEnv.h"
473+
export *
474+
link "UserEnv.Lib"
475+
}
476+
471477
module WER {
472478
header "WerApi.h"
473479
export *

0 commit comments

Comments
 (0)