1 // Licensed under the Apache License, Version 2.0 2 // <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license 3 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option. 4 // All files in the project carrying such notice may not be copied, modified, or distributed 5 // except according to those terms. 6 use shared::minwindef::BOOL; 7 use um::winnt::LARGE_INTEGER; 8 extern "system" { QueryPerformanceCounter( lpPerformanceCount: *mut LARGE_INTEGER, ) -> BOOL9 pub fn QueryPerformanceCounter( 10 lpPerformanceCount: *mut LARGE_INTEGER, 11 ) -> BOOL; QueryPerformanceFrequency( lpFrequency: *mut LARGE_INTEGER, ) -> BOOL12 pub fn QueryPerformanceFrequency( 13 lpFrequency: *mut LARGE_INTEGER, 14 ) -> BOOL; 15 } 16