Ignore:
Timestamp:
Dec 8, 2001, 4:36:30 PM (24 years ago)
Author:
sandervl
Message:

MS Shell Dlg 2 font mapping added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/install/odininst.cpp

    r6551 r7581  
    1 /* $Id: odininst.cpp,v 1.10 2001-08-16 21:34:21 sandervl Exp $ */
     1/* $Id: odininst.cpp,v 1.11 2001-12-08 15:36:30 sandervl Exp $ */
    22/*
    33 * Odin WarpIn installation app
     
    470470   RegCloseKey(hkey);
    471471
     472//#
     473//# Entries for quartz.dll
     474//#
     475
    472476   //Quartz.dll keys
    473477   //[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{CDA42200-BD88-11d0-BD4E-00A0C911CE86}]
     
    544548   RegCloseKey(hkey1);
    545549   RegCloseKey(hkey);
     550
     551
     552#if 0
     553   if(RegCreateKey(HKEY_LOCAL_MACHINE, "Software\\CLASSES\\CLSID\\E436EBB3-524F-11CE-9F53-0020AF0BA770" ,&hkey)!=ERROR_SUCCESS) {
     554    goto initreg_error;
     555   }
     556   RegSetValueEx(hkey,"",0,REG_SZ, (LPBYTE)QUARTZ_FILTERGRAPHDIST_DEFAULT, sizeof(QUARTZ_FILTERGRAPHDIST_DEFAULT));
     557   if(RegCreateKey(hkey,COM_INPROCSERVER, &hkey1)!=ERROR_SUCCESS) {
     558    RegCloseKey(hkey);
     559    goto initreg_error;
     560   }
     561   RegSetValueEx(hkey1,"",0,REG_SZ, (LPBYTE)QUARTZ_DLL, sizeof(QUARTZ_DLL));
     562   RegSetValueEx(hkey1, COM_THREADMODEL, 0,REG_SZ, (LPBYTE)THREAD_BOTH, sizeof(THREAD_BOTH));
     563   RegCloseKey(hkey1);
     564   RegCloseKey(hkey);
     565
     566# CLSID_FilterGraph
     567[HKEY_CLASSES_ROOT\CLSID\{E436EBB3-524F-11CE-9F53-0020AF0BA770}\InprocServer32]
     568@="quartz.dll"
     569"ThreadingModel"="Both"
     570
     571# CLSID_SystemClock
     572[HKEY_CLASSES_ROOT\CLSID\{E436EBB1-524F-11CE-9F53-0020AF0BA770}\InprocServer32]
     573@="quartz.dll"
     574"ThreadingModel"="Both"
     575
     576# CLSID_MemoryAllocator
     577[HKEY_CLASSES_ROOT\CLSID\{1E651CC0-B199-11D0-8212-00C04FC32C45}\InprocServer32]
     578@="quartz.dll"
     579"ThreadingModel"="Both"
     580#endif
    546581
    547582   //[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion]
     
    746781       PROFILE_SetOdinIniString(ODINFONTSECTION, "MS Sans Serif", "WarpSans");
    747782   }
     783   //Add MS Shell Dlg 2 (win2k and up) too
     784   if(PROFILE_GetOdinIniString(ODINFONTSECTION, "MS Shell Dlg 2", "", &temp,
     785                               0) <= 1)
     786   {
     787       PROFILE_SetOdinIniString(ODINFONTSECTION, "MS Shell Dlg 2", "WarpSans");
     788   }
     789
    748790   //Create system.ini with [mci] section
    749791   strcpy(shellpath, InternalGetWindowsDirectory());
Note: See TracChangeset for help on using the changeset viewer.