What is Visual Studio trying to tell me with this warning?
According to the docs, this warning is when you're passing a potentially null value to a parameter.
But I'm checking for null with if (hwnd) before calling these functions.
if (hwnd) {
GetClientRect(hwnd, (LPRECT)&rMyRect);
ClientToScreen(hwnd, (LPPOINT)&rMyRect.left);
ClientToScreen(hwnd, (LPPOINT)&rMyRect.right);
}
