MCPcopy Create free account
hub / github.com/HoShiMin/Kernel-Bridge / Initialize

Method Initialize

Kernel-Bridge/API/OSVersion.cpp:8–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6
7_IRQL_requires_max_(PASSIVE_LEVEL)
8VOID OSVersion::Initialize() {
9 if (Initialized) return;
10 PsGetVersion(&Version.Major, &Version.Minor, NULL, NULL);
11 Initialized = TRUE;
12}
13
14BOOLEAN OSVersion::IsGreaterThan(ULONG Major, ULONG Minor) {
15 if (!Initialized) Initialize();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected