def invokeInterfaceMethod(self, interface, method):
# keep track of the last used device for state dumping
#if interface.name in ('IDirect3DDevice9', 'IDirect3DDevice9Ex'):
def invokeInterfaceMethod(self, interface, method):
# keep track of the last used device for state dumping
#if interface.name in ('IDirect3DDevice9', 'IDirect3DDevice9Ex'):