|
HyperPlatform Programmer's Reference
|
Declares and implements common things across the project. More...
#include <fltKernel.h>

Go to the source code of this file.
Macros | |
| #define | HYPERPLATFORM_COMMON_DBG_BREAK() |
| Sets a break point that works only when a debugger is present. More... | |
| #define | HYPERPLATFORM_COMMON_BUG_CHECK(hp_bug_check_code, param1, param2, param3) |
| Issues a bug check. More... | |
| #define | HYPERPLATFORM_PERFORMANCE_ENABLE_PERFCOUNTER 1 |
| Enable or disable performance monitoring globally. More... | |
Functions | |
| constexpr bool | IsX64 () |
| Checks if a system is x64. More... | |
| constexpr bool | IsReleaseBuild () |
| Checks if the project is compiled as Release. More... | |
Variables | |
| static const ULONG | kHyperPlatformCommonPoolTag = 'PpyH' |
| A pool tag. More... | |
Declares and implements common things across the project.
Definition in file common.h.
| #define HYPERPLATFORM_COMMON_BUG_CHECK | ( | hp_bug_check_code, | |
| param1, | |||
| param2, | |||
| param3 | |||
| ) |
Issues a bug check.
| hp_bug_check_code | Type of a bug |
| param1 | 1st parameter for KeBugCheckEx() |
| param2 | 2nd parameter for KeBugCheckEx() |
| param3 | 3rd parameter for KeBugCheckEx() |
| #define HYPERPLATFORM_COMMON_DBG_BREAK | ( | ) |
| #define HYPERPLATFORM_PERFORMANCE_ENABLE_PERFCOUNTER 1 |
Enable or disable performance monitoring globally.
Enables HYPERPLATFORM_PERFORMANCE_MEASURE_THIS_SCOPE() which measures an elapsed time of the scope when set to non 0. Enabling it introduces negative performance impact.
|
strong |
BugCheck codes for HYPERPLATFORM_COMMON_BUG_CHECK().
| constexpr bool IsReleaseBuild | ( | ) |
| constexpr bool IsX64 | ( | ) |
1.8.14