Skip to content

Commit 889e84a

Browse files
authored
Merge pull request swiftlang#32012 from compnerd/richy-rich
Platform: add RichEdit to modulemap
2 parents 6bda828 + bf9ae4b commit 889e84a

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

stdlib/public/Platform/winsdk.modulemap

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,11 @@ module WinSDK [system] {
189189
link "OleAut32.Lib"
190190
}
191191

192+
module RichEdit {
193+
header "Richedit.h"
194+
export *
195+
}
196+
192197
module User {
193198
header "WinUser.h"
194199
export *

stdlib/public/Windows/WinSDK.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,9 @@ public let HKEY_CURRENT_CONFIG: HKEY = HKEY(bitPattern: 0x80000005)!
102102
public let HKEY_DYN_DATA: HKEY = HKEY(bitPattern: 0x80000006)!
103103
public let HKEY_CURRENT_USER_LOCAL_SETTINGS: HKEY = HKEY(bitPattern: 0x80000007)!
104104

105+
// Richedit.h
106+
public let MSFTEDIT_CLASS: [WCHAR] = Array<WCHAR>("RICHEDIT50W".utf16)
107+
105108
// Swift Convenience
106109
public extension FILETIME {
107110
var time_t: time_t {

0 commit comments

Comments
 (0)