it works but so far i only have seen the result in a jpg.
D3DXSaveSurfaceToFile("test.jpg", D3DXIFF_JPG, pRenderTarget, 0, 0);

can i also directly render to 3dgs bitmaps that way? or does it always have to be a new texture with D3DUSAGE_RENDERTARGET?

...
it would be nice if all of the defines and enums of d3d9types.h were available in lite-c.