Module: wine Branch: master Commit: 2884205db3a1d25d407b7c88e378520606f93578 URL: http://source.winehq.org/git/wine.git/?a=commit;h=2884205db3a1d25d407b7c88e3...
Author: Vitaly Lipatov lav@etersoft.ru Date: Wed Mar 22 14:03:45 2017 +0300
include: Add PERF_DATA_BLOCK struct definition.
Signed-off-by: Vitaly Lipatov lav@etersoft.ru Signed-off-by: Alexandre Julliard julliard@winehq.org
---
include/winperf.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+)
diff --git a/include/winperf.h b/include/winperf.h index b62f24b..dce1a6d 100644 --- a/include/winperf.h +++ b/include/winperf.h @@ -67,4 +67,25 @@ #define PERF_DETAIL_EXPERT 300 #define PERF_DETAIL_WIZARD 400
+/* Performance data structure header + * returned in answer to HKEY_PERFORMANCE_DATA request + */ + +typedef struct _PERF_DATA_BLOCK { + WCHAR Signature[4]; + DWORD LittleEndian; + DWORD Version; + DWORD Revision; + DWORD TotalByteLength; + DWORD HeaderLength; + DWORD NumObjectTypes; + DWORD DefaultObject; + SYSTEMTIME SystemTime; + LARGE_INTEGER PerfTime; + LARGE_INTEGER PerfFreq; + LARGE_INTEGER PerfTime100nSec; + DWORD SystemNameLength; + DWORD SystemNameOffset; +} PERF_DATA_BLOCK, *PPERF_DATA_BLOCK, *LPPERF_DATA_BLOCK; + #endif /* _WINPERF_ */