* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-/* $Id: cursoricon.c,v 1.28 2003/12/07 19:29:33 weiden Exp $ */
+/* $Id: cursoricon.c,v 1.29 2003/12/08 22:51:11 gvg Exp $ */
#undef WIN32_LEAN_AND_MEAN
{
PCURICONS Cursors;
PCURICON_OBJECT CurIconObject = NULL;
-
+
Cursors = &WinStaObject->SystemCursor.CurIcons;
ExAcquireFastMutex(&Cursors->LockHandles);
{
/* no more handles */
if(++c >= CurInfo->CurIcons.Count)
+ {
+ ExReleaseFastMutex(&CurInfo->CurIcons.LockHandles);
return FALSE;
+ }
}
}