VC++ 6.0 でWindows SDKでデスクトップの一部をキャプチャするものを作っているのですが、
実行したウインドウをなんども移動させたりすると、メモリーリーク??を起こしているのか
途中から画面が真っ白になってしまいます。何が悪いのでしょうか。

LRESULT CALLBACK WndProc(HWND hWnd,
UINT message,
WPARAM wParam,
LPARAM lParam)
{
static HWND hWndDesktop;//デスクトップのHWND
static HDC hDCDesktop;//デスクトップのHDC

switch(message)
{
case WM_CREATE:
hWndDesktop = GetDesktopWindow();
return 0;
case WM_PAINT:
hDCDesktop = GetDC(hWndDesktop);
BitBlt(GetDC(hWnd), 0, 0, 100, 100, hDCDesktop, 0, 0, SRCCOPY);
ReleaseDC(hWndDesktop,hDCDesktop);
return 0;
case WM_DESTROY:
PostQuitMessage(0);
return 0;
default:
return DefWindowProc(hWnd, message, wParam, lParam);
}
}