static int init = 0; if (!init) { init = 1; OSVERSIONINFO os; os.dwOSVersionInfoSize = sizeof(os); ::GetVersionEx(&os); if ((os.dwPlatformId == VER_PLATFORM_WIN32_WINDOWS) && (os.dwMajorVersion == 4) && (os.dwMinorVersion == 0) && (::GetACP() == 932)) { gUseAFunctions = 1; } }
nsGfxFactoryWin::nsGfxFactoryWin(const nsCID &aClass)   {     mRefCnt = 0;  mClassID = aClass;}   