SymCryptInitEnvWindowsKernelmodeWin8_1nLater
VOID __stdcall SymCryptInitEnvWindowsKernelmodeWin8_1nLater(UINT32 version){
_OSVERSIONINFOW VersionInformation;
memset(&VersionInformation.dwMajorVersion, 0i64, 0x110u);
if( (g_SymCryptFlags & 1) == 0 )
{
VersionInformation.dwOSVersionInfoSize = 276;
if( RtlGetVersion(&VersionInformation) < 0 )
SymCryptFatal(0x6E737276u);
if( VersionInformation.dwMajorVersion < 6
|| VersionInformation.dwMajorVersion == 6 && VersionInformation.dwMinorVersion < 3 )
{
SymCryptFatal(0x6E737276u);
}
SymCryptDetectCpuFeaturesByCpuid(1u);
if( (RtlGetEnabledExtendedFeatures(-1i64) & 4) == 0 )
g_SymCryptCpuFeaturesNotPresent |= 0x10u;
g_SymCryptCpuFeaturesNotPresent &= ~0x20u;
SymCryptInitEnvCommon(version);
}
}Referenced by:
KeInitSystem
SymCryptInit