GetClientRect (hwnd, &rect)为什么不是GetClientRect (hwnd, rect)
LRESULT CALLBACK WndProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
{ HWND hwnd;
RECT rect;
.
.
.
.
case WM_PAINT:
GetClientRect (hwnd, &rect) ;//C中结构实例就是地址,第二个参数这么要加&?
.
.
.
.
}