char buffer[200];
LRESULT CALLBACK WndProc(HWND hwnd, UINT iMsg, WPARAM wParam, LPARAM lParam)	{        HDC hdc;	PAINTSTRUCT ps;        RECT rect;        char buffer[200];        static int seeded = 0;	switch (iMsg)		{	case WM_PAINT:		hdc = BeginPaint(hwnd, &ps);		GetClientRect(hwnd, &rect);                DrawText(hdc, "Seeding the PRNG. Please move the mouse!", -1,			&rect, DT_SINGLELINE | DT_CENTER | DT_VCENTER);		EndPaint(hwnd, &ps);		return 0;		        case WM_DESTROY:                PostQuitMessage(0);                return 0;                }        if (RAND_event(iMsg, wParam, lParam) == 1 && seeded == 0)                {                seeded = 1;                if (RAND_write_file(filename) <= 0)                        MessageBox(hwnd, "Couldn't write random file!",				"OpenSSL", MB_OK | MB_ICONERROR);                PostQuitMessage(0);                }	return DefWindowProc(hwnd, iMsg, wParam, lParam);	}