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::{DWORD, UINT};
7 use um::mmsystem::{LPTIMECAPS, MMRESULT};
8 extern "system" {
timeGetTime() -> DWORD9     pub fn timeGetTime() -> DWORD;
timeGetDevCaps( ptc: LPTIMECAPS, cbtc: UINT, ) -> MMRESULT10     pub fn timeGetDevCaps(
11         ptc: LPTIMECAPS,
12         cbtc: UINT,
13     ) -> MMRESULT;
timeBeginPeriod( uPeriod: UINT, ) -> MMRESULT14     pub fn timeBeginPeriod(
15         uPeriod: UINT,
16     ) -> MMRESULT;
timeEndPeriod( uPeriod: UINT, ) -> MMRESULT17     pub fn timeEndPeriod(
18         uPeriod: UINT,
19     ) -> MMRESULT;
20 }
21