ReactOS 0.4.16-dev-527-gdad3a09
|
#include <win32k.h>
Go to the source code of this file.
Variables | |
PUSER_HANDLE_TABLE | gHandleTable = NULL |
struct { | |
PVOID(* ObjectAlloc )(PDESKTOP, PTHREADINFO, SIZE_T, PVOID *) | |
BOOLEAN(* ObjectDestroy )(PVOID) | |
void(* ObjectFree )(PVOID) | |
} | ObjectCallbacks [TYPE_CTYPES] |
_Success_ | ( | return! | = NULL | ) |
Definition at line 16 of file object.c.
|
static |
Definition at line 361 of file object.c.
Referenced by UserAllocHandle().
DBG_DEFAULT_CHANNEL | ( | UserObj | ) |
|
static |
Definition at line 355 of file object.c.
Referenced by get_user_full_handle(), get_user_object_handle(), and UserAllocHandle().
|
static |
Definition at line 417 of file object.c.
Referenced by UserDereferenceObject().
Definition at line 134 of file object.c.
Definition at line 89 of file object.c.
Definition at line 175 of file object.c.
Referenced by FreeCurIconObject().
Definition at line 45 of file object.c.
HANDLE get_user_full_handle | ( | PUSER_HANDLE_TABLE | ht, |
HANDLE | handle | ||
) |
Definition at line 511 of file object.c.
void * get_user_object_handle | ( | PUSER_HANDLE_TABLE | ht, |
HANDLE * | handle, | ||
HANDLE_TYPE | type | ||
) |
PUSER_HANDLE_ENTRY handle_to_entry | ( | PUSER_HANDLE_TABLE | ht, |
HANDLE | handle | ||
) |
Definition at line 341 of file object.c.
Referenced by get_user_full_handle(), get_user_object_handle(), NtUserValidateHandleSecure(), UserDereferenceObject(), UserFreeHandle(), UserGetObject(), UserGetObjectNoErr(), UserMarkObjectDestroy(), and UserObjectInDestroy().
Definition at line 792 of file object.c.
Referenced by ValidateHandleNoErr().
HANDLE UserAllocHandle | ( | _Inout_ PUSER_HANDLE_TABLE | ht, |
_In_ PVOID | object, | ||
_In_ HANDLE_TYPE | type, | ||
_In_ PVOID | HandleOwner | ||
) |
Definition at line 458 of file object.c.
Referenced by UserCreateObject().
Definition at line 839 of file object.c.
Referenced by co_IntSetKeyboardLayoutForProcess(), co_UserActivateKeyboardLayout(), co_UserCreateWindowEx(), InitThreadCallback(), IntImmActivateLayout(), IntTranslateKbdMessage(), NtUserSetThreadLayoutHandles(), and UserCreateInputContext().
Definition at line 860 of file object.c.
Referenced by co_UserFreeWindow(), ExitThreadCallback(), and IntWinStaObjectDelete().
Definition at line 536 of file object.c.
Referenced by InitUserImpl().
PVOID FASTCALL UserCreateObject | ( | PUSER_HANDLE_TABLE | ht, |
PDESKTOP | pDesktop, | ||
PTHREADINFO | pti, | ||
HANDLE * | h, | ||
HANDLE_TYPE | type, | ||
ULONG | size | ||
) |
Definition at line 568 of file object.c.
Referenced by co_UserLoadKbdLayout(), CreateCallProc(), CreateTimer(), IntAddSynthesizedFormats(), IntCloneMenu(), IntCreateCurIconHandle(), IntCreateMenu(), IntCreateMonitorObject(), IntCreateWindow(), IntSynthesizeDib(), NtUserCallOneParam(), NtUserConvertMemHandle(), NtUserCreateAcceleratorTable(), NtUserSetWindowsHookEx(), NtUserSetWinEventHook(), UserCreateInputContext(), and UserLoadKbdFile().
BOOL FASTCALL UserDeleteObject | ( | HANDLE | h, |
HANDLE_TYPE | type | ||
) |
Definition at line 717 of file object.c.
Referenced by co_UserFreeWindow(), co_UserLoadKbdLayout(), DestroyCallProc(), IntDestroyCurIconObject(), IntDestroyInputContext(), IntDestroyMenuObject(), IntDestroyMonitorObject(), IntEndDeferWindowPosEx(), IntFreeElementData(), IntFreeHook(), IntRemoveEvent(), NtUserCallOneParam(), NtUserConvertMemHandle(), NtUserCreateAcceleratorTable(), RemoveTimer(), UnloadKbdFile(), UserDestroyAccelTable(), UserDestroyInputContext(), UserLoadKbdFile(), and UserUnloadKbl().
Definition at line 644 of file object.c.
Referenced by _Success_(), co_UserCreateWindowEx(), co_UserFreeWindow(), co_UserLoadKbdLayout(), co_UserSetParent(), co_WinPosSearchChildren(), CreateCallProc(), DefWndDoSizeMove(), DesktopWindowProc(), ExitThreadCallback(), FreeCurIconObject(), IntAddSynthesizedFormats(), IntCleanupCurIconCache(), IntCreateCurIconHandle(), IntCreateWindow(), IntDefWindowProc(), IntDestroyClass(), IntDestroyMonitorObject(), IntEndDeferWindowPosEx(), IntRemoveCursorFromList(), IntSetAconData(), IntSetOwner(), IntSynthesizeDib(), IntSystemSetCursor(), MENU_DrawBitmapItem(), MsqCleanupMessageQueue(), NtUserConvertMemHandle(), NtUserCreateAcceleratorTable(), NtUserDestroyCursor(), NtUserDrawIconEx(), NtUserGetCursorFrameInfo(), NtUserGetIconSize(), NtUserSetCursor(), NtUserSetWindowsHookEx(), NtUserSetWinEventHook(), NtUserUnhookWindowsHookEx(), RemoveTimer(), ReplaceWndPtr(), UserAssignmentLock(), UserAssignmentUnlock(), UserAttachThreadInput(), UserCreateInputContext(), UserCreateMenu(), UserDerefObjectCo(), UserDrawCaption(), UserDrawSysMenuButton(), UserFreeHandle(), UserLoadKbdFile(), UserSetClassLongPtr(), and UserSetCursorIconData().
BOOLEAN UserDestroyObjectsForOwner | ( | PUSER_HANDLE_TABLE | Table, |
PVOID | Owner | ||
) |
Definition at line 754 of file object.c.
Referenced by ExitThreadCallback(), and UserProcessDestroy().
BOOL FASTCALL UserFreeHandle | ( | PUSER_HANDLE_TABLE | ht, |
HANDLE | handle | ||
) |
Definition at line 686 of file object.c.
Referenced by UserDeleteObject().
PVOID UserGetObject | ( | PUSER_HANDLE_TABLE | ht, |
HANDLE | handle, | ||
HANDLE_TYPE | type | ||
) |
Definition at line 495 of file object.c.
Referenced by co_HOOK_CallHooks(), IntCreateWindow(), IntDeferWindowPos(), IntEndDeferWindowPosEx(), IntGetHookObject(), IntImmProcessKey(), IntSetClassWndProc(), IntSetWindowProc(), IntSynthesizeBitmap(), NtUserCreateLocalMemHandle(), NtUserQueryInputContext(), NtUserUnhookWinEvent(), NtUserUpdateInputContext(), UserDeleteObject(), UserGetAccelObject(), UserGetCallProcInfo(), UserGetMenuObject(), UserGetMonitorObject(), UserGetWindowObject(), and UserReferenceObjectByHandle().
PVOID UserGetObjectNoErr | ( | PUSER_HANDLE_TABLE | ht, |
HANDLE | handle, | ||
HANDLE_TYPE | type | ||
) |
Definition at line 481 of file object.c.
Referenced by IntDestroyInputContext(), NC_IconForWindow(), NtUserAssociateInputContext(), NtUserDestroyInputContext(), NtUserSetCursor(), and ValidateHwndNoErr().
VOID UserInitHandleTable | ( | PUSER_HANDLE_TABLE | ht, |
PVOID | mem, | ||
ULONG | bytes | ||
) |
Definition at line 407 of file object.c.
Referenced by UserCreateHandleTable().
Definition at line 621 of file object.c.
Referenced by co_IntUnloadKeyboardLayoutEx(), co_UserFreeWindow(), IntDestroyMenuObject(), and UserDestroyInputContext().
Definition at line 703 of file object.c.
Referenced by co_CallHook(), IntDestroyClass(), IntSetMenuItemInfo(), NtUserSetCursor(), UserAttachThreadInput(), UserGetCurIconObject(), VerifyMenu(), and VerifyWnd().
Definition at line 731 of file object.c.
Referenced by co_IntSetParent(), co_WinPosSearchChildren(), DefWndDoSizeMove(), IntDefWindowProc(), IntGetClassForDesktop(), IntGetHookObject(), IntInsertCursorIntoList(), IntLoadSystenIcons(), IntMoveClassToSharedHeap(), IntSetMenuItemInfo(), IntSystemSetCursor(), MENU_DrawBitmapItem(), MsqInitializeMessageQueue(), NtUserGetIconSize(), PopupMenuWndProc(), ReplaceWndPtr(), UserAllocHandle(), UserAssignmentLock(), UserAttachThreadInput(), UserCreateObject(), UserDrawCaption(), UserDrawSysMenuButton(), UserReferenceObjectByHandle(), UserRefObjectCo(), and UserSetClassLongPtr().
PVOID FASTCALL UserReferenceObjectByHandle | ( | HANDLE | handle, |
HANDLE_TYPE | type | ||
) |
Definition at line 741 of file object.c.
Referenced by UserGetCurIconObject().
PUSER_HANDLE_TABLE gHandleTable = NULL |
Definition at line 13 of file object.c.
Referenced by co_HOOK_CallHooks(), co_UserLoadKbdLayout(), CreateCallProc(), CreateTimer(), ExitThreadCallback(), GetUser32Handle(), IntAddSynthesizedFormats(), IntCloneMenu(), IntCreateCurIconHandle(), IntCreateMenu(), IntCreateMonitorObject(), IntCreateWindow(), IntDeferWindowPos(), IntDestroyInputContext(), IntEndDeferWindowPosEx(), IntGetHookObject(), IntImmProcessKey(), IntSetClassWndProc(), IntSetWindowProc(), IntSynthesizeBitmap(), IntSynthesizeDib(), NC_IconForWindow(), NtUserAssociateInputContext(), NtUserCallOneParam(), NtUserConvertMemHandle(), NtUserCreateAcceleratorTable(), NtUserCreateLocalMemHandle(), NtUserDestroyInputContext(), NtUserProcessConnect(), NtUserQueryInputContext(), NtUserSetCursor(), NtUserSetWindowsHookEx(), NtUserSetWinEventHook(), NtUserUnhookWinEvent(), NtUserUpdateInputContext(), NtUserValidateHandleSecure(), UserCreateHandleTable(), UserCreateInputContext(), UserDeleteObject(), UserDereferenceObject(), UserGetAccelObject(), UserGetCallProcInfo(), UserGetMenuObject(), UserGetMonitorObject(), UserGetWindowObject(), UserLoadKbdFile(), UserMarkObjectDestroy(), UserObjectInDestroy(), UserProcessDestroy(), UserReferenceObjectByHandle(), and ValidateHwndNoErr().
PVOID(* ObjectAlloc) (PDESKTOP, PTHREADINFO, SIZE_T, PVOID *) | ( | PDESKTOP | , |
PTHREADINFO | , | ||
SIZE_T | , | ||
PVOID * | |||
) |
Definition at line 251 of file object.c.
Referenced by UserCreateObject().
const struct { ... } ObjectCallbacks[TYPE_CTYPES] |
Referenced by UserCreateObject(), UserDereferenceObject(), and UserDestroyObjectsForOwner().