foobar2000 SDK  2015-08-03
pp-gettickcount.h
Go to the documentation of this file.
1 #if !defined(PP_GETTICKCOUNT_H_INCLUDED) && defined(_WIN32)
2 #define PP_GETTICKCOUNT_H_INCLUDED
3 
4 namespace PP {
5 #if _WIN32_WINNT >= 0x600
6  typedef uint64_t tickcount_t;
7  inline tickcount_t getTickCount() { return ::GetTickCount64(); }
8 #else
9 #define PFC_TICKCOUNT_32BIT
10  typedef uint32_t tickcount_t;
11  inline tickcount_t getTickCount() { return ::GetTickCount(); }
12 #endif
13 
14 }
15 
16 #endif // #if !defined(PP_GETTICKCOUNT_H_INCLUDED) && defined(_WIN32)
uint64_t tickcount_t
tickcount_t getTickCount()