Create hello-platform for Windows #10
@@ -3,7 +3,7 @@ import WinSDK
|
||||
func otherSetupWindowIcons(_ iconId: Int) {
|
||||
// Only visit windows owned by this UI thread, never another application's window.
|
||||
EnumThreadWindows(GetCurrentThreadId(), { wnd, iconId in
|
||||
let resource = UnsafePointer<WCHAR>(bitPattern: iconId)
|
||||
let resource = UnsafePointer<WCHAR>(bitPattern: Int(iconId))
|
||||
let module = GetModuleHandleW(nil)
|
||||
|
||||
// Small icon
|
||||
|
||||
Reference in new issue
Block a user