From 2ec6676afd0ff8c3e43cf9c8b4500bdf51408023 Mon Sep 17 00:00:00 2001 From: Kenny Kerr Date: Tue, 14 Jan 2025 12:44:09 -0600 Subject: [PATCH] samples --- crates/samples/windows-sys/enum_windows/src/main.rs | 2 +- crates/samples/windows/enum_windows/src/main.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/samples/windows-sys/enum_windows/src/main.rs b/crates/samples/windows-sys/enum_windows/src/main.rs index 4c06e5beeb..d96c033e66 100644 --- a/crates/samples/windows-sys/enum_windows/src/main.rs +++ b/crates/samples/windows-sys/enum_windows/src/main.rs @@ -1,4 +1,4 @@ -use windows_sys::{Win32::Foundation::*, Win32::UI::WindowsAndMessaging::*}; +use windows_sys::{core::*, Win32::Foundation::*, Win32::UI::WindowsAndMessaging::*}; fn main() { unsafe { diff --git a/crates/samples/windows/enum_windows/src/main.rs b/crates/samples/windows/enum_windows/src/main.rs index 7927758be1..8a5108b2d1 100644 --- a/crates/samples/windows/enum_windows/src/main.rs +++ b/crates/samples/windows/enum_windows/src/main.rs @@ -1,4 +1,4 @@ -use windows::{Win32::Foundation::*, Win32::UI::WindowsAndMessaging::*}; +use windows::{core::*, Win32::Foundation::*, Win32::UI::WindowsAndMessaging::*}; fn main() -> windows::core::Result<()> { unsafe { EnumWindows(Some(enum_window), LPARAM(0)) }