def QueryPathOfRegTypeLib(libid, wVerMajor, wVerMinor, lcid=0):
        import _winreg
        try:
            hkey = _winreg.OpenKey(_winreg.HKEY_CLASSES_ROOT, r"Typelib\%s\%s.%s\%x\win32" % (libid, wVerMajor, wVerMinor, lcid))
        except WindowsError:
            # On CE, some typelib names are not in the ..\win32 subkey:
            hkey = _winreg.OpenKey(_winreg.HKEY_CLASSES_ROOT, r"Typelib\%s\%s.%s\%x" % (libid, wVerMajor, wVerMinor, lcid))
        return _winreg.QueryValueEx(hkey, "")[0]
Load configuration from .reviewboardrc files.
dataset/ETHPy150Open enthought/comtypes/comtypes/typeinfo.py/QueryPathOfRegTypeLib--crossover with--dataset/ETHPy150Open reviewboard/rbtools/rbtools/utils/filesystem.py/load_config