-class D2D1Tracer(DllTracer):
-
- def wrapArg(self, function, arg):
- if function.name == 'D2D1CreateFactory' and arg.output:
- print ' if (*%s) {' % arg.name
- for iface in d2d1.interfaces:
- print ' if (riid == IID_%s) {' % iface.name
- print ' *%s = (LPVOID) new Wrap%s((%s *)*%s);' % (arg.name, iface.name, iface.name, arg.name)
- print ' }'
- print ' }'
- else:
- DllTracer.wrapArg(self, function, arg)
-
-