/usr/x86_64-w64-mingw32/include/avrt.h is in mingw-w64-x86-64-dev 2.0.3-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 | /**
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the w64 mingw-runtime package.
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
*/
#ifndef _INC_AVRT
#define _INC_AVRT
#if (_WIN32_WINNT >= 0x0600)
typedef enum _AVRT_PRIORITY {
AVRT_PRIORITY_LOW = -1,
AVRT_PRIORITY_NORMAL, /* 0 */
AVRT_PRIORITY_HIGH, /* 1 */
AVRT_PRIORITY_CRITICAL /* 2 */
} AVRT_PRIORITY, *PAVRT_PRIORITY;
#define AvSetMmThreadCharacteristics __MINGW_NAME_AW(AvSetMmThreadCharacteristics)
#define AvSetMmMaxThreadCharacteristics __MINGW_NAME_AW(AvSetMmMaxThreadCharacteristics)
#define AvRtCreateThreadOrderingGroupEx __MINGW_NAME_AW(AvRtCreateThreadOrderingGroupEx)
WINBOOL WINAPI AvQuerySystemResponsiveness(
HANDLE AvrtHandle,
PULONG SystemResponsivenessValue
);
HANDLE WINAPI AvSetMmThreadCharacteristicsA(
LPCSTR TaskName,
LPDWORD TaskIndex
);
HANDLE WINAPI AvSetMmThreadCharacteristicsW(
LPCWSTR TaskName,
LPDWORD TaskIndex
);
WINBOOL WINAPI AvRevertMmThreadCharacteristics(
HANDLE AvrtHandle
);
HANDLE WINAPI AvSetMmMaxThreadCharacteristicsA(
LPCSTR FirstTask,
LPCSTR SecondTask,
LPDWORD TaskIndex
);
HANDLE WINAPI AvSetMmMaxThreadCharacteristicsW(
LPCWSTR FirstTask,
LPCWSTR SecondTask,
LPDWORD TaskIndex
);
WINBOOL WINAPI AvSetMmThreadPriority(
HANDLE AvrtHandle,
AVRT_PRIORITY Priority
);
WINBOOL WINAPI AvRtCreateThreadOrderingGroup(
PHANDLE Context,
PLARGE_INTEGER Period,
GUID *ThreadOrderingGuid,
PLARGE_INTEGER Timeout
);
WINBOOL WINAPI AvRtCreateThreadOrderingGroupExA(
PHANDLE Context,
PLARGE_INTEGER Period,
GUID *ThreadOrderingGuid,
PLARGE_INTEGER Timeout,
LPCSTR TaskName
);
WINBOOL WINAPI AvRtCreateThreadOrderingGroupExW(
PHANDLE Context,
PLARGE_INTEGER Period,
GUID *ThreadOrderingGuid,
PLARGE_INTEGER Timeout,
LPCWSTR TaskName
);
WINBOOL WINAPI AvRtDeleteThreadOrderingGroup(
HANDLE Context
);
WINBOOL WINAPI AvRtJoinThreadOrderingGroup(
PHANDLE Context,
GUID *ThreadOrderingGuid,
WINBOOL Before
);
WINBOOL WINAPI AvRtLeaveThreadOrderingGroup(
HANDLE Context
);
WINBOOL WINAPI AvRtWaitOnThreadOrderingGroup(
HANDLE Context
);
#endif /*(_WIN32_WINNT >= 0x0600)*/
#endif /*_INC_AVRT*/
|