

def QueryPathOfRegTypeLib(libid, wVerMajor, wVerMinor, lcid=0):
    'Return the path of a registered type library'
    pathname = BSTR()
    _oleaut32.QueryPathOfRegTypeLib(byref(GUID(libid)), wVerMajor, wVerMinor, lcid, byref(pathname))
    return pathname.value.split('\x00')[0]

dataset/ETHPy150Open enthought/comtypes/comtypes/typeinfo.py QueryPathOfRegTypeLib/original