| 6 | |
| 7 | _IRQL_requires_max_(PASSIVE_LEVEL) |
| 8 | VOID OSVersion::Initialize() { |
| 9 | if (Initialized) return; |
| 10 | PsGetVersion(&Version.Major, &Version.Minor, NULL, NULL); |
| 11 | Initialized = TRUE; |
| 12 | } |
| 13 | |
| 14 | BOOLEAN OSVersion::IsGreaterThan(ULONG Major, ULONG Minor) { |
| 15 | if (!Initialized) Initialize(); |
nothing calls this directly
no outgoing calls
no test coverage detected