c-pal/win32/reals/real_execution_engine_win32.h

32 строки
683 B
C++

// Copyright (c) Microsoft. All rights reserved.
#ifndef REAL_EXECUTION_ENGINE_WIN32_H
#define REAL_EXECUTION_ENGINE_WIN32_H
#ifdef __cplusplus
#include <cstdint>
#else
#include <stdint.h>
#endif
#include "macro_utils/macro_utils.h"
#define R2(X) REGISTER_GLOBAL_MOCK_HOOK(X, real_##X);
#define REGISTER_EXECUTION_ENGINE_WIN32_GLOBAL_MOCK_HOOK() \
MU_FOR_EACH_1(R2, \
execution_engine_win32_get_threadpool \
)
#ifdef __cplusplus
extern "C" {
#endif
PTP_POOL real_execution_engine_win32_get_threadpool(EXECUTION_ENGINE_HANDLE execution_engine);
#ifdef __cplusplus
}
#endif
#endif //REAL_EXECUTION_ENGINE_WIN32_H