|
ReactOS 0.4.17-dev-37-g0bfb40d
|

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 1158 of file window.c.
Referenced by co_UserSetParent().
|
static |
Definition at line 3836 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 2177 of file window.c.
Referenced by co_IntCreateDefaultImeWindow(), MENU_InitPopup(), and NtUserCreateWindowEx().
Definition at line 2865 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 575 of file window.c.
Referenced by co_UserDestroyWindow(), co_UserFreeWindow(), and handle_internal_message().
Definition at line 1295 of file window.c.
Referenced by co_IntSetWindowLongPtr(), and NtUserSetParent().
Definition at line 4033 of file window.c.
Referenced by DesktopWindowProc(), and NtUserSetWindowWord().
| DBG_DEFAULT_CHANNEL | ( | UserWnd | ) |
Definition at line 4385 of file window.c.
Referenced by IntDefWindowProc(), RealDefWindowProcA(), and RealDefWindowProcW().
| PWINDOWLIST FASTCALL IntBuildHwndList | ( | PWND | pwnd, |
| DWORD | dwFlags, | ||
| PTHREADINFO | pti | ||
| ) |
Definition at line 1422 of file window.c.
Referenced by IntAssociateInputContextEx(), IntCheckImeShowStatus(), IntDestroyInputContext(), and IntImeWindowPosChanged().
Definition at line 3825 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 1805 of file window.c.
Referenced by co_UserCreateWindowEx(), and IntCreateDesktop().
Definition at line 2830 of file window.c.
Referenced by co_UserDestroyWindow().
Definition at line 221 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 3073 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 1467 of file window.c.
Referenced by ExitThreadCallback(), IntAssociateInputContextEx(), IntCheckImeShowStatus(), IntDestroyInputContext(), and IntImeWindowPosChanged().
Definition at line 352 of file window.c.
Referenced by co_IntProcessMouseMessage(), co_IntSetActiveWindow(), and IntCreateWindow().
Definition at line 205 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 382 of file window.c.
Referenced by WinPosFixupFlags().
Definition at line 439 of file window.c.
Referenced by IntDefWindowProc().
Definition at line 75 of file window.c.
Referenced by co_UserFreeWindow(), IntHideDesktop(), and IntSetOwner().
Definition at line 782 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 929 of file window.c.
Referenced by co_IntFixCaret(), co_IntSetParent(), DceResetActiveDCEs(), IntGetPaintMessage(), and NC_DoNCPaint().
Definition at line 360 of file window.c.
Referenced by co_UserCreateWindowEx(), and co_UserDestroyWindow().
Definition at line 177 of file window.c.
Referenced by co_IntPaintWindows(), co_UserDestroyWindow(), co_UserSetFocus(), co_WinPosSetWindowPos(), DefWndDoSizeMove(), IntSendDestroyMsg(), IntTrackPopupMenuEx(), NtUserCallHwnd(), NtUserSetActiveWindow(), and NtUserSetLogonNotifyWindow().
Definition at line 190 of file window.c.
Referenced by co_IntSendActivateMessages(), DefWndDoSizeMove(), DefWndPrint(), NC_DoNCPaint(), UserDrawCaptionBar(), and WinPosFixupFlags().
Definition at line 985 of file window.c.
Referenced by co_IntSetParent(), co_UserCreateWindowEx(), co_WinPosSetWindowPos(), IntImeSetTopMost(), and IntLinkHwnd().
Definition at line 946 of file window.c.
Referenced by IntLinkHwnd().
| PWINDOWLIST FASTCALL IntPopulateHwndList | ( | PWINDOWLIST | pwl, |
| PWND | pwnd, | ||
| DWORD | dwFlags | ||
| ) |
Definition at line 1393 of file window.c.
Referenced by IntBuildHwndList(), and IntPopulateHwndList().
Definition at line 1085 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 24 of file window.c.
Referenced by IntGrowHwndList().
Definition at line 355 of file mouse.c.
Referenced by IntSendDestroyMsg().
Definition at line 462 of file window.c.
Referenced by co_UserDestroyWindow(), and IntSendDestroyMsg().
Definition at line 1689 of file window.c.
Referenced by co_UserCreateWindowEx(), and co_UserDestroyWindow().
Definition at line 1117 of file window.c.
Referenced by co_IntSetWindowLongPtr().
Definition at line 144 of file window.c.
Referenced by co_UserCreateWindowEx(), co_UserShowScrollBar(), co_WinPosMinMaximize(), co_WinPosShowWindow(), DefWndDoSizeMove(), IntDefWindowProc(), IntEnableWindow(), and IntForceMinimizeWindow().
Definition at line 842 of file window.c.
Referenced by co_IntSetWindowLongPtr().
Definition at line 4662 of file window.c.
Referenced by co_WinPosMinMaximize(), co_WinPosShowWindow(), DefWndHandleSysCommand(), and NtUserCallTwoParam().
Definition at line 1355 of file window.c.
Referenced by co_IntSetParent(), co_UserFreeWindow(), IntImeSetTopMost(), and IntLinkHwnd().
Definition at line 368 of file window.c.
Referenced by IntCreateWindow(), and IntSetOwner().
Definition at line 275 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 316 of file window.c.
Referenced by IntDestroyOwnedWindows(), and IntShowOwnedPopups().
Definition at line 4100 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 1515 of file window.c.
Referenced by enum_windows(), 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 2680 of file window.c.
Referenced by CreateWnd(), User32CreateWindowEx(), and WIN_CreateWindowEx().
| BOOL APIENTRY NtUserDefSetText | ( | HWND | hWnd, |
| PLARGE_STRING | WindowText | ||
| ) |
Definition at line 4466 of file window.c.
Referenced by DefSetText().
Definition at line 3049 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 3155 of file window.c.
Referenced by FindWindowExW(), and START_TEST().
Definition at line 3415 of file window.c.
Referenced by GetAncestor().
| BOOL APIENTRY NtUserGetComboBoxInfo | ( | HWND | hWnd, |
| PCOMBOBOXINFO | pcbi | ||
| ) |
Definition at line 3479 of file window.c.
Referenced by GetComboBoxInfo().
Definition at line 3590 of file window.c.
Referenced by GetListBoxInfo().
Definition at line 4600 of file window.c.
Referenced by GetWindowTextA(), GetWindowTextW(), and InternalGetWindowText().
Definition at line 4202 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 4307 of file window.c.
Referenced by RegisterClipboardFormatA(), RegisterClipboardFormatW(), RegisterWindowMessageA(), and RegisterWindowMessageW().
Definition at line 3658 of file window.c.
Referenced by SetParent().
Definition at line 3725 of file window.c.
Referenced by SetShellWindow(), and SetShellWindowEx().
Definition at line 4343 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 4056 of file window.c.
Referenced by SetWindowLongA(), and SetWindowLongW().
Definition at line 4131 of file window.c.
Referenced by SetWindowWord().
| NTSTATUS NTAPI ProbeAndCaptureLargeString | ( | OUT PLARGE_STRING | plstrSafe, |
| IN PLARGE_STRING | plstrUnsafe | ||
| ) |
Definition at line 2623 of file window.c.
Referenced by NtUserCreateWindowEx().
|
static |
Definition at line 542 of file window.c.
Referenced by co_UserFreeWindow().
Definition at line 3351 of file window.c.
Referenced by NtUserGetAncestor().
Definition at line 3692 of file window.c.
Referenced by co_WinPosSetWindowPos(), and SpiSetWallpaper().
Definition at line 123 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(), IntNtUserSetClassLongPtr(), 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(), 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 40 of file window.c.
Referenced by NtUserCallTwoParam().
Definition at line 108 of file window.c.
Definition at line 88 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 16 of file window.c.
Referenced by IntValidateOwnerDepth().
| PWINDOWLIST gpwlCache = NULL |
Definition at line 19 of file window.c.
Referenced by IntBuildHwndList(), IntFreeHwndList(), and UserProcessDestroy().
| PWINDOWLIST gpwlList = NULL |
Definition at line 18 of file window.c.
Referenced by ExitThreadCallback(), IntBuildHwndList(), and IntFreeHwndList().