def TestVTableMI():
    clsctx = pythoncom.CLSCTX_SERVER
    ob = pythoncom.CoCreateInstance('Python.Test.PyCOMTestMI', None, clsctx, pythoncom.IID_IUnknown)
    ob.QueryInterface(pythoncom.IID_IStream)
    ob.QueryInterface(pythoncom.IID_IStorage)
    ob.QueryInterface(pythoncom.IID_IDispatch)
    iid = pythoncom.InterfaceNames['IPyCOMTest']
    try:
        ob.QueryInterface(iid)
    except TypeError:
        pass
def TestVTableMI():
    clsctx = pythoncom.CLSCTX_SERVER
    ob = pythoncom.CoCreateInstance('Python.Test.PyCOMTestMI', None, clsctx, pythoncom.IID_IUnknown)
    ob.QueryInterface(pythoncom.IID_IStream)
    ob.QueryInterface(pythoncom.IID_IStorage)
    ob.QueryInterface(pythoncom.IID_IDispatch)
    iid = pythoncom.InterfaceNames['IPyCOMTest']
    try:
        ob.QueryInterface(iid)
    except TypeError:
        pass