summaryrefslogtreecommitdiffstats
path: root/vendor/windows-sys/src/Windows/Win32/System/Performance/HardwareCounterProfiling/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/windows-sys/src/Windows/Win32/System/Performance/HardwareCounterProfiling/mod.rs')
-rw-r--r--vendor/windows-sys/src/Windows/Win32/System/Performance/HardwareCounterProfiling/mod.rs23
1 files changed, 8 insertions, 15 deletions
diff --git a/vendor/windows-sys/src/Windows/Win32/System/Performance/HardwareCounterProfiling/mod.rs b/vendor/windows-sys/src/Windows/Win32/System/Performance/HardwareCounterProfiling/mod.rs
index 5c924d689..9193a39a4 100644
--- a/vendor/windows-sys/src/Windows/Win32/System/Performance/HardwareCounterProfiling/mod.rs
+++ b/vendor/windows-sys/src/Windows/Win32/System/Performance/HardwareCounterProfiling/mod.rs
@@ -1,18 +1,11 @@
-#[cfg_attr(windows, link(name = "windows"))]
-extern "system" {
- #[doc = "*Required features: `\"Win32_System_Performance_HardwareCounterProfiling\"`, `\"Win32_Foundation\"`*"]
- #[cfg(feature = "Win32_Foundation")]
- pub fn DisableThreadProfiling(performancedatahandle: super::super::super::Foundation::HANDLE) -> u32;
- #[doc = "*Required features: `\"Win32_System_Performance_HardwareCounterProfiling\"`, `\"Win32_Foundation\"`*"]
- #[cfg(feature = "Win32_Foundation")]
- pub fn EnableThreadProfiling(threadhandle: super::super::super::Foundation::HANDLE, flags: u32, hardwarecounters: u64, performancedatahandle: *mut super::super::super::Foundation::HANDLE) -> u32;
- #[doc = "*Required features: `\"Win32_System_Performance_HardwareCounterProfiling\"`, `\"Win32_Foundation\"`*"]
- #[cfg(feature = "Win32_Foundation")]
- pub fn QueryThreadProfiling(threadhandle: super::super::super::Foundation::HANDLE, enabled: *mut super::super::super::Foundation::BOOLEAN) -> u32;
- #[doc = "*Required features: `\"Win32_System_Performance_HardwareCounterProfiling\"`, `\"Win32_Foundation\"`*"]
- #[cfg(feature = "Win32_Foundation")]
- pub fn ReadThreadProfilingData(performancedatahandle: super::super::super::Foundation::HANDLE, flags: u32, performancedata: *mut PERFORMANCE_DATA) -> u32;
-}
+#[cfg(feature = "Win32_Foundation")]
+::windows_sys::core::link ! ( "kernel32.dll""system" #[doc = "*Required features: `\"Win32_System_Performance_HardwareCounterProfiling\"`, `\"Win32_Foundation\"`*"] fn DisableThreadProfiling ( performancedatahandle : super::super::super::Foundation:: HANDLE ) -> u32 );
+#[cfg(feature = "Win32_Foundation")]
+::windows_sys::core::link ! ( "kernel32.dll""system" #[doc = "*Required features: `\"Win32_System_Performance_HardwareCounterProfiling\"`, `\"Win32_Foundation\"`*"] fn EnableThreadProfiling ( threadhandle : super::super::super::Foundation:: HANDLE , flags : u32 , hardwarecounters : u64 , performancedatahandle : *mut super::super::super::Foundation:: HANDLE ) -> u32 );
+#[cfg(feature = "Win32_Foundation")]
+::windows_sys::core::link ! ( "kernel32.dll""system" #[doc = "*Required features: `\"Win32_System_Performance_HardwareCounterProfiling\"`, `\"Win32_Foundation\"`*"] fn QueryThreadProfiling ( threadhandle : super::super::super::Foundation:: HANDLE , enabled : *mut super::super::super::Foundation:: BOOLEAN ) -> u32 );
+#[cfg(feature = "Win32_Foundation")]
+::windows_sys::core::link ! ( "kernel32.dll""system" #[doc = "*Required features: `\"Win32_System_Performance_HardwareCounterProfiling\"`, `\"Win32_Foundation\"`*"] fn ReadThreadProfilingData ( performancedatahandle : super::super::super::Foundation:: HANDLE , flags : u32 , performancedata : *mut PERFORMANCE_DATA ) -> u32 );
#[doc = "*Required features: `\"Win32_System_Performance_HardwareCounterProfiling\"`*"]
pub type HARDWARE_COUNTER_TYPE = i32;
#[doc = "*Required features: `\"Win32_System_Performance_HardwareCounterProfiling\"`*"]