bool __stdcall RenderRect(HWND hwnd,RECT srcrect)

Render the backbuffer into a hwnd. It is not scaling the backbuffer. Parameters:
HWND hwnd:
Target hwnd. RECT srcrect:
Target position on hwnd.
Result:
bool:
success