2008/11/21 Henri Verbeet hverbeet@codeweavers.com:
+cpp_quote("#if 0") +import "wined3d_types.idl"; +import "wined3d_caps.idl";
...
+cpp_quote("#endif")
+cpp_quote("#include "wine/wined3d_types.h"") +cpp_quote("#include "wine/wined3d_caps.h"")
You can't do this. It won't work in MIDL and it won't work in widl when it is fixed to put the includes for imported files at the start of the generated header file, rather than in between the statements generated from neighbouring IDL statements.
You need to find another way of solving the issue you are facing.