home *** CD-ROM | disk | FTP | other *** search
- # Source Generated with Decompyle++
- # File: in.pyc (Python 2.6)
-
- import pythoncom
- import win32api
- import win32con
-
- def IIDToInterfaceName(iid):
-
- try:
- return pythoncom.ServerInterfaces[iid]
- except KeyError:
-
- try:
-
- try:
- return win32api.RegQueryValue(win32con.HKEY_CLASSES_ROOT, 'Interface\\%s' % iid)
- except win32api.error:
- pass
-
- except ImportError:
- pass
-
- return str(iid)
-
-
-