mirror of
https://github.com/reactos/reactos.git
synced 2024-10-14 21:25:14 +00:00
Remove incorrect error check
svn path=/trunk/; revision=27937
This commit is contained in:
parent
ed630922e9
commit
d59de2819e
|
@ -2207,16 +2207,6 @@ InvalidParameter:
|
||||||
|
|
||||||
/* Undocumented behavior! Return the class atom as a BOOL! */
|
/* Undocumented behavior! Return the class atom as a BOOL! */
|
||||||
Ret = (BOOL)ClassAtom;
|
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
|
else
|
||||||
|
|
Loading…
Reference in a new issue