Author: weiden Date: Sat Jul 28 00:03:05 2007 New Revision: 27937
URL: http://svn.reactos.org/svn/reactos?rev=27937&view=rev Log: Remove incorrect error check
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/class.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/class.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ntu... ============================================================================== --- trunk/reactos/subsystems/win32/win32k/ntuser/class.c (original) +++ trunk/reactos/subsystems/win32/win32k/ntuser/class.c Sat Jul 28 00:03:05 2007 @@ -2207,16 +2207,6 @@
/* 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