Description
Currently, CreateWindowExW/A(.....) allows an invalid parent to be used. It should be rejected. Yes, you have a test for this already.
if (hWndParent && ValidateHwnd(hWndParent) == NULL){
SetLastError(ERROR_INVALID_PARAMETER);
return NULL;
}
Attachments
Issue Links
- relates to
-
CORE-13717 CreateWindow not setting error on success.
- Resolved