Remove incorrect error check

svn path=/trunk/; revision=27937
This commit is contained in:
Thomas Bluemel 2007-07-27 20:03:05 +00:00
parent ed630922e9
commit d59de2819e

View file

@ -2207,16 +2207,6 @@ InvalidParameter:
/* Undocumented behavior! Return the class atom as a BOOL! */
Ret = (BOOL)ClassAtom;
if (!(Class->Global || Class->System) && hInstance == NULL)
{
if (CapturedClassName.Length == 0)
WARN("Tried to get information of a non-existing class atom 0x%p\n", CapturedClassName.Buffer);
else
WARN("Tried to get information of a non-existing class \"%wZ\"\n", &CapturedClassName);
SetLastWin32Error(ERROR_CLASS_DOES_NOT_EXIST);
Ret = FALSE;
}
}
}
else