Adam Martinson adam.r.martinson@gmail.com wrote:
+static HDC (WINAPI *pGetWindowDC)(HWND hWnd); +static int (WINAPI *pReleaseDC)(HWND hWnd,HDC hDC);
There is no need to dynamically import these APIs, they are always available.
I don't see how this is supposed to test what you presumably are trying to fix. A bunch of message tests that calls UpdateLayeredWindow with various flags and parameters and compares window extents before and after the call would be more convincing IMO.