MCPcopy Create free account
hub / github.com/NoMercy-ac/NoMercy / Initialize

Method Initialize

Source/Client/NM_Sys/API/OSVersion.cpp:8–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected