HyperDbg/hyperdbg/include/SDK/imports/kernel/HyperDbgHyperPerf.h
sina c17ebc09c4
Some checks are pending
vs2026-ci / win-amd64-build (debug, x64) (push) Waiting to run
vs2026-ci / win-amd64-build (release, x64) (push) Waiting to run
vs2026-ci / Deploy release (push) Blocked by required conditions
add HyperPerf project structures
2026-06-22 16:19:49 +02:00

33 lines
886 B
C

/**
* @file HyperDbgHyperPerf.h
* @author Sina Karvandi (sina@hyperdbg.org)
* @brief Headers relating exported functions from hyperperf (pmu) module
* @version 0.21
* @date 2026-06-22
*
* @copyright This project is released under the GNU Public License v3.
*
*/
#pragma once
#ifdef HYPERDBG_HYPERPERF
# define IMPORT_EXPORT_HYPERPERF __declspec(dllexport)
#else
# define IMPORT_EXPORT_HYPERPERF __declspec(dllimport)
#endif
//////////////////////////////////////////////////
// HyperPerf Functions //
//////////////////////////////////////////////////
//
// Initialize the hyperperf module with the provided callbacks
//
IMPORT_EXPORT_HYPERPERF BOOLEAN
HyperPerfInitCallback(HYPERPERF_CALLBACKS * HyperPerfCallbacks, BOOLEAN RunningOnHypervisorEnvironment);
//
// Uninitialize the HyperPerf module
//
IMPORT_EXPORT_HYPERPERF VOID
HyperPerfUninit();