Lines Matching refs:g_hAAPI32
226 static HINSTANCE g_hAAPI32 = NULL; variable
516 if ( g_hAAPI32 ) in mDNSPlatformClose()
527 FreeLibrary( g_hAAPI32 ); in mDNSPlatformClose()
535 g_hAAPI32 = NULL; in mDNSPlatformClose()
697 if ( !g_hAAPI32 ) in mDNSPlatformRandomNumber()
699 g_hAAPI32 = LoadLibrary( TEXT("AdvAPI32.dll") ); in mDNSPlatformRandomNumber()
700 err = translate_errno( g_hAAPI32 != NULL, GetLastError(), mStatus_UnknownErr ); in mDNSPlatformRandomNumber()
710 ( GetProcAddress( g_hAAPI32, "CryptAcquireContextW" ) ); in mDNSPlatformRandomNumber()
712 ( GetProcAddress( g_hAAPI32, "CryptAcquireContextA" ) ); in mDNSPlatformRandomNumber()
723 ( GetProcAddress( g_hAAPI32, "CryptReleaseContext" ) ); in mDNSPlatformRandomNumber()
733 ( GetProcAddress( g_hAAPI32, "CryptGenRandom" ) ); in mDNSPlatformRandomNumber()