File Index Symbol Index

/******************************************************************************** * * * realtimeapi.h -- ApiSet Contract for api-ms-win-core-realtime-l1 * * * * Copyright (c) Microsoft Corporation. All rights reserved. * * * ********************************************************************************/
#ifdef _MSC_VER
#pragma once
#endif // _MSC_VER
#ifndef _APISETREALTIME_
#define _APISETREALTIME_
#include <apiset.h>
#include <apisetcconv.h>
#include <minwindef.h>
#ifdef __cplusplus
extern
"C"
{
#endif
#pragma region Desktop Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM)
#if (_WIN32_WINNT >= 0x0600)
BOOL
QueryThreadCycleTime
( );
BOOL
QueryProcessCycleTime
( );
BOOL
QueryIdleProcessorCycleTime
( );
#endif
#if (_WIN32_WINNT >= 0x0601)
BOOL
QueryIdleProcessorCycleTimeEx
( );
#endif // (_WIN32_WINNT >= 0x0601)
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion #pragma region Application Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM)
QueryInterruptTimePrecise
( );
QueryUnbiasedInterruptTimePrecise
( );
QueryInterruptTime
( );
#if (_WIN32_WINNT >= 0x0601)
BOOL
QueryUnbiasedInterruptTime
( );
#endif // (_WIN32_WINNT >= 0x0601)
HRESULT
QueryAuxiliaryCounterFrequency
( );
HRESULT
ConvertAuxiliaryCounterToPerformanceCounter
( );
HRESULT
ConvertPerformanceCounterToAuxiliaryCounter
( );
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#ifdef __cplusplus
}
#endif
#endif // _APISETREALTIME_