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