def QueryPathOfRegTypeLib(libid, wVerMajor, wVerMinor, lcid=0):
        pathname = BSTR()
        _oleaut32.QueryPathOfRegTypeLib(byref(GUID(libid)), wVerMajor, wVerMinor, lcid, byref(pathname))
        return pathname.value.split("\0")[0]

################################################################
# Structures
Application.find() returns a command with ambiguous namespace
dataset/ETHPy150Open enthought/comtypes/comtypes/typeinfo.py/QueryPathOfRegTypeLib--crossover with--dataset/ETHPy150Open sdispater/cleo/tests/test_application.py/ApplicationTest.test_find_command_with_ambiguous_namespace_but_unique_name