diff options
Diffstat (limited to 'vendor/windows-sys/src/Windows/Win32/System/SetupAndMigration/mod.rs')
-rw-r--r-- | vendor/windows-sys/src/Windows/Win32/System/SetupAndMigration/mod.rs | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/vendor/windows-sys/src/Windows/Win32/System/SetupAndMigration/mod.rs b/vendor/windows-sys/src/Windows/Win32/System/SetupAndMigration/mod.rs index dd35fa4e5..8b69944dd 100644 --- a/vendor/windows-sys/src/Windows/Win32/System/SetupAndMigration/mod.rs +++ b/vendor/windows-sys/src/Windows/Win32/System/SetupAndMigration/mod.rs @@ -1,14 +1,8 @@ -#[cfg_attr(windows, link(name = "windows"))] -extern "system" { - #[doc = "*Required features: `\"Win32_System_SetupAndMigration\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn OOBEComplete(isoobecomplete: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_System_SetupAndMigration\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn RegisterWaitUntilOOBECompleted(oobecompletedcallback: OOBE_COMPLETED_CALLBACK, callbackcontext: *const ::core::ffi::c_void, waithandle: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_System_SetupAndMigration\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn UnregisterWaitUntilOOBECompleted(waithandle: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; -} +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "kernel32.dll""system" #[doc = "*Required features: `\"Win32_System_SetupAndMigration\"`, `\"Win32_Foundation\"`*"] fn OOBEComplete ( isoobecomplete : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "kernel32.dll""system" #[doc = "*Required features: `\"Win32_System_SetupAndMigration\"`, `\"Win32_Foundation\"`*"] fn RegisterWaitUntilOOBECompleted ( oobecompletedcallback : OOBE_COMPLETED_CALLBACK , callbackcontext : *const ::core::ffi::c_void , waithandle : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "kernel32.dll""system" #[doc = "*Required features: `\"Win32_System_SetupAndMigration\"`, `\"Win32_Foundation\"`*"] fn UnregisterWaitUntilOOBECompleted ( waithandle : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); #[doc = "*Required features: `\"Win32_System_SetupAndMigration\"`*"] -pub type OOBE_COMPLETED_CALLBACK = ::core::option::Option<unsafe extern "system" fn(callbackcontext: *const ::core::ffi::c_void)>; +pub type OOBE_COMPLETED_CALLBACK = ::core::option::Option<unsafe extern "system" fn(callbackcontext: *const ::core::ffi::c_void) -> ()>; |