Skip to content

Commit 67ba46e

Browse files
committed
Platform: add a new submodule to WinSDK
This adds the memoryapi submodule to WinSDK which isolates the memoryapi contract. This enables additional functions such as `QueryVirtualMemoryRegion` to now be available.
1 parent afde39d commit 67ba46e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

stdlib/public/Platform/winsdk.modulemap

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,14 @@ module WinSDK [system] {
9292
export *
9393
}
9494

95+
// api-ms-win-core-memory-l1-1-0.dll
96+
module memory {
97+
header "memoryapi.h"
98+
export *
99+
100+
link "OneCore.Lib"
101+
}
102+
95103
// api-ms-win-core-namedpipe-l1-1-2-0.dll
96104
module namedpipe {
97105
header "namedpipeapi.h"

0 commit comments

Comments
 (0)