def DllUnregisterServer():
    # Enumerate each module implementing an object
    from comtypes.server.register import unregister
    for mod in com_modules:
        # unregister each class
        for cls in get_classes(mod):
            unregister(cls)
def DllUnregisterServer():
    # Enumerate each module implementing an object
    from comtypes.server.register import unregister
    for mod in com_modules:
        # unregister each class
        for cls in get_classes(mod):
            unregister(cls)