@@ -56,7 +56,7 @@ public var STD_ERROR_HANDLE: DWORD {
5656// handleapi.h
5757@inlinable
5858public var INVALID_HANDLE_VALUE : HANDLE {
59- HANDLE ( bitPattern: - 1 ) !
59+ unsafe HANDLE( bitPattern: - 1 ) !
6060}
6161
6262// shellapi.h
@@ -163,78 +163,78 @@ public var PROC_THREAD_ATTRIBUTE_PSEUDOCONSOLE: DWORD_PTR {
163163// windef.h
164164@inlinable
165165public var DPI_AWARENESS_CONTEXT_UNAWARE : DPI_AWARENESS_CONTEXT {
166- DPI_AWARENESS_CONTEXT ( bitPattern: - 1 ) !
166+ unsafe DPI_AWARENESS_CONTEXT( bitPattern: - 1 ) !
167167}
168168
169169@inlinable
170170public var DPI_AWARENESS_CONTEXT_SYSTEM_AWARE : DPI_AWARENESS_CONTEXT {
171- DPI_AWARENESS_CONTEXT ( bitPattern: - 2 ) !
171+ unsafe DPI_AWARENESS_CONTEXT( bitPattern: - 2 ) !
172172}
173173
174174@inlinable
175175public var DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE : DPI_AWARENESS_CONTEXT {
176- DPI_AWARENESS_CONTEXT ( bitPattern: - 3 ) !
176+ unsafe DPI_AWARENESS_CONTEXT( bitPattern: - 3 ) !
177177}
178178
179179@inlinable
180180public var DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2 : DPI_AWARENESS_CONTEXT {
181- DPI_AWARENESS_CONTEXT ( bitPattern: - 4 ) !
181+ unsafe DPI_AWARENESS_CONTEXT( bitPattern: - 4 ) !
182182}
183183
184184@inlinable
185185public var DPI_AWARENESS_CONTEXT_UNAWARE_GDISCALED : DPI_AWARENESS_CONTEXT {
186- DPI_AWARENESS_CONTEXT ( bitPattern: - 5 ) !
186+ unsafe DPI_AWARENESS_CONTEXT( bitPattern: - 5 ) !
187187}
188188
189189// winreg.h
190190@inlinable
191191public var HKEY_CLASSES_ROOT : HKEY {
192- HKEY ( bitPattern: UInt ( 0x80000000 ) ) !
192+ unsafe HKEY( bitPattern: UInt ( 0x80000000 ) ) !
193193}
194194
195195@inlinable
196196public var HKEY_CURRENT_USER : HKEY {
197- HKEY ( bitPattern: UInt ( 0x80000001 ) ) !
197+ unsafe HKEY( bitPattern: UInt ( 0x80000001 ) ) !
198198}
199199
200200@inlinable
201201public var HKEY_LOCAL_MACHINE : HKEY {
202- HKEY ( bitPattern: UInt ( 0x80000002 ) ) !
202+ unsafe HKEY( bitPattern: UInt ( 0x80000002 ) ) !
203203}
204204
205205@inlinable
206206public var HKEY_USERS : HKEY {
207- HKEY ( bitPattern: UInt ( 0x80000003 ) ) !
207+ unsafe HKEY( bitPattern: UInt ( 0x80000003 ) ) !
208208}
209209
210210@inlinable
211211public var HKEY_PERFORMANCE_DATA : HKEY {
212- HKEY ( bitPattern: UInt ( 0x80000004 ) ) !
212+ unsafe HKEY( bitPattern: UInt ( 0x80000004 ) ) !
213213}
214214
215215@inlinable
216216public var HKEY_PERFORMANCE_TEXT : HKEY {
217- HKEY ( bitPattern: UInt ( 0x80000050 ) ) !
217+ unsafe HKEY( bitPattern: UInt ( 0x80000050 ) ) !
218218}
219219
220220@inlinable
221221public var HKEY_PERFORMANCE_NLSTEXT : HKEY {
222- HKEY ( bitPattern: UInt ( 0x80000060 ) ) !
222+ unsafe HKEY( bitPattern: UInt ( 0x80000060 ) ) !
223223}
224224
225225@inlinable
226226public var HKEY_CURRENT_CONFIG : HKEY {
227- HKEY ( bitPattern: UInt ( 0x80000005 ) ) !
227+ unsafe HKEY( bitPattern: UInt ( 0x80000005 ) ) !
228228}
229229
230230@inlinable
231231public var HKEY_DYN_DATA : HKEY {
232- HKEY ( bitPattern: UInt ( 0x80000006 ) ) !
232+ unsafe HKEY( bitPattern: UInt ( 0x80000006 ) ) !
233233}
234234
235235@inlinable
236236public var HKEY_CURRENT_USER_LOCAL_SETTINGS : HKEY {
237- HKEY ( bitPattern: UInt ( 0x80000007 ) ) !
237+ unsafe HKEY( bitPattern: UInt ( 0x80000007 ) ) !
238238}
239239
240240// Richedit.h
0 commit comments