mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +00:00
[win32k]
- When we run out of user handles show count of event and SMWP objects svn path=/trunk/; revision=51689
This commit is contained in:
parent
3e28bffb7a
commit
c3dc777c91
1 changed files with 8 additions and 3 deletions
|
@ -71,7 +71,7 @@ __inline static PUSER_HANDLE_ENTRY alloc_user_entry(PUSER_HANDLE_TABLE ht)
|
|||
{
|
||||
/**/
|
||||
int i, iFree = 0, iWindow = 0, iMenu = 0, iCursorIcon = 0,
|
||||
iHook = 0, iCallProc = 0, iAccel = 0, iMonitor = 0, iTimer = 0;
|
||||
iHook = 0, iCallProc = 0, iAccel = 0, iMonitor = 0, iTimer = 0, iEvent = 0, iSMWP = 0;
|
||||
/**/
|
||||
DPRINT1("Out of user handles! Used -> %i, NM_Handle -> %d\n", gpsi->cHandleEntries, ht->nb_handles);
|
||||
//#if 0
|
||||
|
@ -106,12 +106,17 @@ __inline static PUSER_HANDLE_ENTRY alloc_user_entry(PUSER_HANDLE_TABLE ht)
|
|||
case otTimer:
|
||||
iTimer++;
|
||||
break;
|
||||
case otEvent:
|
||||
iEvent++;
|
||||
break;
|
||||
case otSMWP:
|
||||
iSMWP++;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
DPRINT1("Handle Count by Type:\n Free = %d Window = %d Menu = %d CursorIcon = %d Hook = %d\n CallProc = %d Accel = %d Monitor = %d Timer = %d\n",
|
||||
iFree, iWindow, iMenu, iCursorIcon, iHook, iCallProc, iAccel, iMonitor, iTimer );
|
||||
DPRINT1("Handle Count by Type:\n Free = %d Window = %d Menu = %d CursorIcon = %d Hook = %d\n CallProc = %d Accel = %d Monitor = %d Timer = %d Event = %d SMWP = %d\n",
|
||||
iFree, iWindow, iMenu, iCursorIcon, iHook, iCallProc, iAccel, iMonitor, iTimer, iEvent, iSMWP );
|
||||
//#endif
|
||||
return NULL;
|
||||
#if 0
|
||||
|
|
Loading…
Reference in a new issue