Im just started programming with Direct3d9
so
i want just create a Rect
mydevice->->Present(NULL, NULL, NULL, NULL);
i dont want use NULL in Present fonction because a want create a rectangle for my surface Direct3d9. i want create a window with botton and direct3d surface like 3Dsmax (4 surface and botton in left), so please how i can create this Rectangle ?
Rect r; ... r.top; r.left; ... this rectangle return a LONG value and i need a Const RECT that i can set it in Present() fonction, so please how i can do that ?