ReactOS 0.4.15-dev-7788-g1ad9096
|
Go to the source code of this file.
Classes | |
struct | HEADCOMBO |
struct | _WND2CBOX |
struct | LB_DESCR |
struct | _WND2LB |
Macros | |
#define | GROW_COUNT 8 |
#define | INITIAL_COUNT 32 |
#define | IS_DEFAULT(x) ((x) == CW_USEDEFAULT || (x) == (SHORT)0x8000) |
#define | CBF_BUTTONDOWN 0x0002 |
#define | GWLP_CONSOLE_LEADER_PID 0 |
#define | GWLP_CONSOLE_LEADER_TID 4 |
Typedefs | |
typedef struct HEADCOMBO * | LPHEADCOMBO |
typedef struct _WND2CBOX | WND2CBOX |
typedef struct _WND2CBOX * | PWND2CBOX |
typedef struct _WND2LB | WND2LB |
typedef struct _WND2LB * | PWND2LB |
Variables | |
INT | gNestedWindowLimit = 50 |
PWINDOWLIST | gpwlList = NULL |
PWINDOWLIST | gpwlCache = NULL |
#define GROW_COUNT 8 |
#define GWLP_CONSOLE_LEADER_PID 0 |
#define GWLP_CONSOLE_LEADER_TID 4 |
#define INITIAL_COUNT 32 |
typedef struct HEADCOMBO* LPHEADCOMBO |
Definition at line 1156 of file window.c.
Referenced by co_UserSetParent().
|
static |
Definition at line 3825 of file window.c.
Referenced by co_UserSetWindowLong(), co_UserSetWindowLongPtr(), NtUserAlterWindowStyle(), and NtUserSetWindowLong().
PWND FASTCALL co_UserCreateWindowEx | ( | CREATESTRUCTW * | Cs, |
PUNICODE_STRING | ClassName, | ||
PLARGE_STRING | WindowName, | ||
PVOID | acbiBuffer, | ||
DWORD | dwVer | ||
) |
Definition at line 2173 of file window.c.
Referenced by co_IntCreateDefaultImeWindow(), MENU_InitPopup(), and NtUserCreateWindowEx().
Definition at line 2853 of file window.c.
Referenced by co_UserCreateWindowEx(), co_UserDestroyWindow(), handle_internal_message(), IntDefWindowProc(), IntDesktopObjectDelete(), IntDestroyOwnedWindows(), IntTrackPopupMenuEx(), MENU_HideSubPopups(), MENU_TrackMenu(), NtUserDestroyWindow(), and NtUserDisableThreadIme().
LRESULT co_UserFreeWindow | ( | PWND | Window, |
PPROCESSINFO | ProcessData, | ||
PTHREADINFO | ThreadData, | ||
BOOLEAN | SendMessages | ||
) |
Definition at line 574 of file window.c.
Referenced by co_UserDestroyWindow(), co_UserFreeWindow(), and handle_internal_message().
Definition at line 1294 of file window.c.
Referenced by co_IntSetWindowLongPtr(), and NtUserSetParent().
Definition at line 4020 of file window.c.
Referenced by DesktopWindowProc(), and NtUserSetWindowWord().
DBG_DEFAULT_CHANNEL | ( | UserWnd | ) |
Definition at line 4372 of file window.c.
Referenced by IntDefWindowProc(), RealDefWindowProcA(), and RealDefWindowProcW().
PWINDOWLIST FASTCALL IntBuildHwndList | ( | PWND | pwnd, |
DWORD | dwFlags, | ||
PTHREADINFO | pti | ||
) |
Definition at line 1424 of file window.c.
Referenced by IntAssociateInputContextEx(), IntCheckImeShowStatus(), IntDestroyInputContext(), and IntImeWindowPosChanged().
Definition at line 3814 of file window.c.
Referenced by co_IntSetWindowLongPtr().
PWND FASTCALL IntCreateWindow | ( | CREATESTRUCTW * | Cs, |
PLARGE_STRING | WindowName, | ||
PCLS | Class, | ||
PWND | ParentWindow, | ||
PWND | OwnerWindow, | ||
PVOID | acbiBuffer, | ||
PDESKTOP | pdeskCreated, | ||
DWORD | dwVer | ||
) |
Definition at line 1801 of file window.c.
Referenced by co_UserCreateWindowEx(), and IntCreateDesktop().
Definition at line 2817 of file window.c.
Referenced by co_UserDestroyWindow().
Definition at line 220 of file window.c.
Referenced by NtUserCallTwoParam(), and NtUserEnableScrollBar().
HWND FASTCALL IntFindWindow | ( | PWND | Parent, |
PWND | ChildAfter, | ||
RTL_ATOM | ClassAtom, | ||
PUNICODE_STRING | WindowName | ||
) |
Definition at line 3061 of file window.c.
Referenced by NtUserFindWindowEx().
void FASTCALL IntFixWindowCoordinates | ( | CREATESTRUCTW * | Cs, |
PWND | ParentWindow, | ||
DWORD * | dwShowMode | ||
) |
Definition at line 1711 of file window.c.
Referenced by co_UserCreateWindowEx().
VOID FASTCALL IntFreeHwndList | ( | PWINDOWLIST | pwlTarget | ) |
Definition at line 1470 of file window.c.
Referenced by ExitThreadCallback(), IntAssociateInputContextEx(), IntCheckImeShowStatus(), IntDestroyInputContext(), and IntImeWindowPosChanged().
Definition at line 351 of file window.c.
Referenced by co_IntProcessMouseMessage(), co_IntSetActiveWindow(), and IntCreateWindow().
Definition at line 204 of file window.c.
Referenced by co_UserDestroyWindow(), DefSetText(), DefWndDoSizeMove(), DefWndHandleWindowPosChanged(), GetControlBrush(), IntDefWindowProc(), IntGetWindowContextHelpId(), MsqSendParentNotify(), NC_DoNCPaint(), NC_GetSysPopupPos(), NtUserCallHwndLock(), NtUserDefSetText(), and UserGetAncestor().
Definition at line 381 of file window.c.
Referenced by WinPosFixupFlags().
Definition at line 438 of file window.c.
Referenced by IntDefWindowProc().
Definition at line 73 of file window.c.
Referenced by co_UserFreeWindow(), IntHideDesktop(), and IntSetOwner().
Definition at line 780 of file window.c.
Referenced by IntSetWindowProc().
BOOL FASTCALL IntGrowHwndList | ( | PWINDOWLIST * | ppwl | ) |
Definition at line 1373 of file window.c.
Referenced by IntPopulateHwndList().
Definition at line 927 of file window.c.
Referenced by co_IntFixCaret(), co_IntSetParent(), DceResetActiveDCEs(), IntGetPaintMessage(), and NC_DoNCPaint().
Definition at line 359 of file window.c.
Referenced by co_UserCreateWindowEx(), and co_UserDestroyWindow().
Definition at line 176 of file window.c.
Referenced by co_IntPaintWindows(), co_UserDestroyWindow(), co_UserSetFocus(), co_WinPosSetWindowPos(), DefWndDoSizeMove(), IntSendDestroyMsg(), IntTrackPopupMenuEx(), NtUserCallHwnd(), NtUserSetActiveWindow(), and NtUserSetLogonNotifyWindow().
Definition at line 189 of file window.c.
Referenced by co_IntSendActivateMessages(), DefWndDoSizeMove(), DefWndPrint(), NC_DoNCPaint(), UserDrawCaptionBar(), and WinPosFixupFlags().
Definition at line 983 of file window.c.
Referenced by co_IntSetParent(), co_UserCreateWindowEx(), co_WinPosSetWindowPos(), IntImeSetTopMost(), and IntLinkHwnd().
Definition at line 944 of file window.c.
Referenced by IntLinkHwnd().
PWINDOWLIST FASTCALL IntPopulateHwndList | ( | PWINDOWLIST | pwl, |
PWND | pwnd, | ||
DWORD | dwFlags | ||
) |
Definition at line 1394 of file window.c.
Referenced by IntBuildHwndList(), and IntPopulateHwndList().
Definition at line 1083 of file window.c.
Referenced by IntSetOwner().
PVOID FASTCALL IntReAllocatePoolWithTag | ( | POOL_TYPE | PoolType, |
PVOID | pOld, | ||
SIZE_T | cbOld, | ||
SIZE_T | cbNew, | ||
ULONG | Tag | ||
) |
Definition at line 22 of file window.c.
Referenced by IntGrowHwndList().
Definition at line 355 of file mouse.c.
Referenced by IntSendDestroyMsg().
Definition at line 461 of file window.c.
Referenced by co_UserDestroyWindow(), and IntSendDestroyMsg().
Definition at line 1692 of file window.c.
Referenced by co_UserCreateWindowEx(), and co_UserDestroyWindow().
Definition at line 1115 of file window.c.
Referenced by co_IntSetWindowLongPtr().
Definition at line 143 of file window.c.
Referenced by co_UserCreateWindowEx(), co_UserShowScrollBar(), co_WinPosMinMaximize(), co_WinPosShowWindow(), IntDefWindowProc(), and IntEnableWindow().
Definition at line 840 of file window.c.
Referenced by co_IntSetWindowLongPtr().
Definition at line 4649 of file window.c.
Referenced by co_WinPosMinMaximize(), co_WinPosShowWindow(), DefWndHandleSysCommand(), and NtUserCallTwoParam().
Definition at line 1354 of file window.c.
Referenced by co_IntSetParent(), co_UserFreeWindow(), IntImeSetTopMost(), and IntLinkHwnd().
Definition at line 367 of file window.c.
Referenced by IntCreateWindow(), and IntSetOwner().
Definition at line 274 of file window.c.
Referenced by co_IntPaintWindows(), co_IntSendActivateMessages(), co_IntSendMessageTimeout(), co_UserFreeWindow(), co_WinPosSearchChildren(), IntChildWindowFromPointEx(), IntClientShutdown(), IntDeactivateWindow(), IntFindWindow(), IntRealChildWindowFromPoint(), IntSendDestroyMsg(), NtUserBuildHwndList(), NtUserFindWindowEx(), NtUserMessageCall(), SpiNotifyNCMetricsChanged(), UserPostMessage(), UserRegisterUserApiHook(), UserSendNotifyMessage(), and WinPosDoOwnedPopups().
Definition at line 315 of file window.c.
Referenced by IntDestroyOwnedWindows(), and IntShowOwnedPopups().
Definition at line 4087 of file window.c.
Referenced by ButtonWndProc_common().
NTSTATUS NTAPI NtUserBuildHwndList | ( | HDESK | hDesktop, |
HWND | hwndParent, | ||
BOOLEAN | bChildren, | ||
ULONG | dwThreadId, | ||
ULONG | cHwnd, | ||
HWND * | phwndList, | ||
ULONG * | pcHwndNeeded | ||
) |
Definition at line 1518 of file window.c.
Referenced by User32EnumWindows(), and WIN_ListChildren().
HWND NTAPI NtUserCreateWindowEx | ( | DWORD | dwExStyle, |
PLARGE_STRING | plstrClassName, | ||
PLARGE_STRING | plstrClsVersion, | ||
PLARGE_STRING | plstrWindowName, | ||
DWORD | dwStyle, | ||
int | x, | ||
int | y, | ||
int | nWidth, | ||
int | nHeight, | ||
HWND | hWndParent, | ||
HMENU | hMenu, | ||
HINSTANCE | hInstance, | ||
LPVOID | lpParam, | ||
DWORD | dwFlags, | ||
PVOID | acbiBuffer | ||
) |
Definition at line 2666 of file window.c.
Referenced by CreateWnd(), and User32CreateWindowEx().
BOOL APIENTRY NtUserDefSetText | ( | HWND | hWnd, |
PLARGE_STRING | WindowText | ||
) |
Definition at line 4453 of file window.c.
Referenced by DefSetText().
Definition at line 3037 of file window.c.
Referenced by DestroyWindow(), and User32DestroyImeUIWindow().
HWND APIENTRY NtUserFindWindowEx | ( | HWND | hwndParent, |
HWND | hwndChildAfter, | ||
PUNICODE_STRING | ucClassName, | ||
PUNICODE_STRING | ucWindowName, | ||
DWORD | dwUnknown | ||
) |
Definition at line 3143 of file window.c.
Referenced by FindWindowExW(), and START_TEST().
Definition at line 3410 of file window.c.
Referenced by GetAncestor().
BOOL APIENTRY NtUserGetComboBoxInfo | ( | HWND | hWnd, |
PCOMBOBOXINFO | pcbi | ||
) |
Definition at line 3468 of file window.c.
Referenced by GetComboBoxInfo().
Definition at line 3579 of file window.c.
Referenced by GetListBoxInfo().
Definition at line 4587 of file window.c.
Referenced by InternalGetWindowText().
Definition at line 4189 of file window.c.
Referenced by DIALOG_CreateIndirect(), GetRealWindowOwner(), GetWindowThreadProcessId(), ImeWnd_OnImeSetContext(), Imm32IsCrossProcessAccess(), ImmAssociateContext(), ImmAssociateContextEx(), ImmGetDefaultIMEWnd(), ImmGetSaveContext(), IsHungAppWindow(), PostMessageA(), PostMessageW(), TestWindowProcess(), and UserPaintCaption().
UINT APIENTRY NtUserRegisterWindowMessage | ( | PUNICODE_STRING | MessageNameUnsafe | ) |
Definition at line 4294 of file window.c.
Referenced by RegisterClipboardFormatA(), RegisterClipboardFormatW(), RegisterWindowMessageA(), and RegisterWindowMessageW().
Definition at line 3647 of file window.c.
Referenced by SetParent().
Definition at line 3714 of file window.c.
Referenced by SetShellWindowEx().
Definition at line 4330 of file window.c.
Referenced by ButtonWndProc_common(), ComboWndProc_common(), EditWndProc_common(), Ghost_OnCreate(), Ghost_OnNCDestroy(), ImeWndProc_common(), ListBoxWndProc_common(), MDIClientWndProc_common(), MsgWindowProc(), ScrollBarWndProc_common(), StaticWndProc_common(), and SwitchWndProc_common().
Definition at line 4043 of file window.c.
Referenced by SetWindowLongA(), and SetWindowLongW().
Definition at line 4118 of file window.c.
Referenced by SetWindowWord().
NTSTATUS NTAPI ProbeAndCaptureLargeString | ( | OUT PLARGE_STRING | plstrSafe, |
IN PLARGE_STRING | plstrUnsafe | ||
) |
Definition at line 2609 of file window.c.
Referenced by NtUserCreateWindowEx().
|
static |
Definition at line 541 of file window.c.
Referenced by co_UserFreeWindow().
Definition at line 3341 of file window.c.
Referenced by co_WinPosActivateOtherWindow(), co_WinPosSetWindowPos(), IntDefWindowProc(), MENU_TrackKbdMenuBar(), MENU_TrackMouseMenuBar(), NC_HandleNCLButtonDown(), NtUserGetAncestor(), and WinPosFixupFlags().
Definition at line 3681 of file window.c.
Referenced by co_WinPosSetWindowPos(), and SpiSetWallpaper().
Definition at line 122 of file window.c.
Referenced by CaretSystemTimerProc(), co_IntCallHookProc(), co_IntDoSendMessage(), co_IntGetPeekMessage(), co_IntHideCaret(), co_IntPaintWindows(), co_IntSendActivateMessages(), co_IntSendMessageTimeout(), co_IntSendMessageTimeoutSingle(), co_IntSendMessageWithCallBack(), co_IntSetCaretPos(), co_IntSetWindowLongPtr(), co_MsqInsertMouseMessage(), co_UserCreateWindowEx(), co_UserHideCaret(), co_UserSetCapture(), co_UserSetParent(), DceResetActiveDCEs(), DceUpdateVisRgn(), EngCreateWnd(), EngDeleteWnd(), IntClientShutdown(), IntDdeGetMessageHook(), IntDdePostMessageHook(), IntDdeSendMessageHook(), IntDefWindowProc(), IntDispatchMessage(), IntEnableWindow(), IntFindWindow(), IntGetMenuItemRect(), IntGetWindowObject(), IntIsWindow(), IntLinkHwnd(), IntPaintDesktop(), IntScrollWindowEx(), IntSendDestroyMsg(), IntSetOwner(), IntSetTebWndCallback(), IntTrackMouseEvent(), NtGdiUpdateColors(), NtUserBeginPaint(), NtUserBuildHwndList(), NtUserBuildPropList(), NtUserCalcMenuBar(), NtUserCallHwnd(), NtUserCallHwndLock(), NtUserCallHwndParam(), NtUserCallHwndParamLock(), NtUserCallTwoParam(), NtUserChangeClipboardChain(), NtUserChildWindowFromPointEx(), NtUserCreateCaret(), NtUserDeferWindowPos(), NtUserDefSetText(), NtUserDestroyWindow(), NtUserDrawCaptionTemp(), NtUserDrawMenuBarTemp(), NtUserEnableScrollBar(), NtUserEndPaint(), NtUserExcludeUpdateRgn(), NtUserFillWindow(), NtUserFindWindowEx(), NtUserGetAncestor(), NtUserGetClassName(), NtUserGetComboBoxInfo(), NtUserGetControlBrush(), NtUserGetControlColor(), NtUserGetCPD(), NtUserGetDCEx(), NtUserGetInternalWindowPos(), NtUserGetLayeredWindowAttributes(), NtUserGetListBoxInfo(), NtUserGetMenuBarInfo(), NtUserGetMenuItemRect(), NtUserGetScrollBarInfo(), NtUserGetSystemMenu(), NtUserGetTitleBarInfo(), NtUserGetUpdateRect(), NtUserGetUpdateRgn(), NtUserGetWindowPlacement(), NtUserHideCaret(), NtUserHiliteMenuItem(), NtUserInternalGetWindowText(), NtUserKillTimer(), NtUserMenuItemFromPoint(), NtUserMessageCall(), NtUserMinMaximize(), NtUserMonitorFromWindow(), NtUserNotifyWinEvent(), NtUserPaintMenuBar(), NtUserPrintWindow(), NtUserQueryWindow(), NtUserRealChildWindowFromPoint(), NtUserRedrawWindow(), NtUserRegisterHotKey(), NtUserRemoveProp(), NtUserSBGetParms(), NtUserScrollWindowEx(), NtUserSetActiveWindow(), NtUserSetClassLong(), NtUserSetClipboardViewer(), NtUserSetFocus(), NtUserSetInternalWindowPos(), NtUserSetLayeredWindowAttributes(), NtUserSetMenu(), NtUserSetProp(), NtUserSetScrollBarInfo(), NtUserSetScrollInfo(), NtUserSetShellWindowEx(), NtUserSetSystemMenu(), NtUserSetSystemTimer(), NtUserSetTimer(), NtUserSetWindowFNID(), NtUserSetWindowPlacement(), NtUserSetWindowPos(), NtUserSetWindowRgn(), NtUserSetWindowWord(), NtUserShowCaret(), NtUserShowScrollBar(), NtUserShowWindow(), NtUserShowWindowAsync(), NtUserTrackPopupMenuEx(), NtUserTranslateAccelerator(), NtUserTranslateMessage(), NtUserUnregisterHotKey(), NtUserUpdateLayeredWindow(), NtUserWindowFromPoint(), ScrollBarWndProc(), SnapWindow(), SpiNotifyNCMetricsChanged(), SystemTimerProc(), UserGetDesktopWindow(), UserGethWnd(), UserOpenClipboard(), UserPostMessage(), UserRealizePalette(), UserRegisterUserApiHook(), and UserSendNotifyMessage().
Definition at line 38 of file window.c.
Referenced by NtUserCallTwoParam().
Definition at line 106 of file window.c.
Definition at line 86 of file window.c.
Referenced by ActivateOtherWindowMin(), co_IntMakeWindowActive(), co_IntSetActiveWindow(), co_IntSetForegroundMessageQueue(), co_WinPosShowWindow(), IntActivateWindow(), IntDispatchMessage(), IntSendParentNotify(), MENU_TrackMenu(), UserSetActiveWindow(), and VIS_ComputeVisibleRegion().
INT gNestedWindowLimit = 50 |
Definition at line 14 of file window.c.
Referenced by IntValidateOwnerDepth().
PWINDOWLIST gpwlCache = NULL |
Definition at line 17 of file window.c.
Referenced by IntBuildHwndList(), IntFreeHwndList(), and UserProcessDestroy().
PWINDOWLIST gpwlList = NULL |
Definition at line 16 of file window.c.
Referenced by ExitThreadCallback(), IntBuildHwndList(), and IntFreeHwndList().