I have used
local_handle_result = direct_3D_device->CreateRenderTarget(
local_view_port_size.cx*2*ratio_x,
local_view_port_size.cy*ratio_y,
D3DFMT_A8R8G8B8, D3DMULTISAMPLE_NONE,
0,
TRUE,
&local_source_image_final, NULL);
It wirks with render targets.