Well, the easiest way was to write this function myself, so the problem doesnt exist now. However I have another one:
Does anybody knows why proxydll_9 example from mikoweb site does not work with DirectX9.0b and 9.0c games? Halo1 (uses 9.0b) says that the installed directx version is not >=9.0b so it can not run. The game runs perfectly fine without the proxy dll of course.
I suspect the architecture of d3d9 changed since 9.0a when the example was written, but does anyone can confirm that?