|
ReactOS 0.4.16-dev-2279-gc890759
|

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 1159 of file window.c.
Referenced by co_UserSetParent().
|
static |
Definition at line 3844 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 2183 of file window.c.
Referenced by co_IntCreateDefaultImeWindow(), MENU_InitPopup(), and NtUserCreateWindowEx().
Definition at line 2873 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 576 of file window.c.
Referenced by co_UserDestroyWindow(), co_UserFreeWindow(), and handle_internal_message().
Definition at line 1297 of file window.c.
Referenced by co_IntSetWindowLongPtr(), and NtUserSetParent().
Definition at line 4041 of file window.c.
Referenced by DesktopWindowProc(), and NtUserSetWindowWord().
| DBG_DEFAULT_CHANNEL | ( | UserWnd | ) |
Definition at line 4393 of file window.c.
Referenced by IntDefWindowProc(), RealDefWindowProcA(), and RealDefWindowProcW().
| PWINDOWLIST FASTCALL IntBuildHwndList | ( | PWND | pwnd, |
| DWORD | dwFlags, | ||
| PTHREADINFO | pti | ||
| ) |
Definition at line 1427 of file window.c.
Referenced by IntAssociateInputContextEx(), IntCheckImeShowStatus(), IntDestroyInputContext(), and IntImeWindowPosChanged().
Definition at line 3833 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 1811 of file window.c.
Referenced by co_UserCreateWindowEx(), and IntCreateDesktop().
Definition at line 2837 of file window.c.
Referenced by co_UserDestroyWindow().
Definition at line 222 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 3081 of file window.c.
Referenced by NtUserFindWindowEx().
| void FASTCALL IntFixWindowCoordinates | ( | CREATESTRUCTW * | Cs, |
| PWND | ParentWindow, | ||
| DWORD * | dwShowMode | ||
| ) |
Definition at line 1717 of file window.c.
Referenced by co_UserCreateWindowEx().
| VOID FASTCALL IntFreeHwndList | ( | PWINDOWLIST | pwlTarget | ) |
Definition at line 1473 of file window.c.
Referenced by ExitThreadCallback(), IntAssociateInputContextEx(), IntCheckImeShowStatus(), IntDestroyInputContext(), and IntImeWindowPosChanged().
Definition at line 353 of file window.c.
Referenced by co_IntProcessMouseMessage(), co_IntSetActiveWindow(), and IntCreateWindow().
Definition at line 206 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 383 of file window.c.
Referenced by WinPosFixupFlags().
Definition at line 440 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 783 of file window.c.
Referenced by IntSetWindowProc().
| BOOL FASTCALL IntGrowHwndList | ( | PWINDOWLIST * | ppwl | ) |
Definition at line 1376 of file window.c.
Referenced by IntPopulateHwndList().
Definition at line 930 of file window.c.
Referenced by co_IntFixCaret(), co_IntSetParent(), DceResetActiveDCEs(), IntGetPaintMessage(), and NC_DoNCPaint().
Definition at line 361 of file window.c.
Referenced by co_UserCreateWindowEx(), and co_UserDestroyWindow().
Definition at line 178 of file window.c.
Referenced by co_IntPaintWindows(), co_UserDestroyWindow(), co_UserSetFocus(), co_WinPosSetWindowPos(), DefWndDoSizeMove(), IntSendDestroyMsg(), IntTrackPopupMenuEx(), NtUserCallHwnd(), NtUserSetActiveWindow(), and NtUserSetLogonNotifyWindow().
Definition at line 191 of file window.c.
Referenced by co_IntSendActivateMessages(), DefWndDoSizeMove(), DefWndPrint(), NC_DoNCPaint(), UserDrawCaptionBar(), and WinPosFixupFlags().
Definition at line 986 of file window.c.
Referenced by co_IntSetParent(), co_UserCreateWindowEx(), co_WinPosSetWindowPos(), IntImeSetTopMost(), and IntLinkHwnd().
Definition at line 947 of file window.c.
Referenced by IntLinkHwnd().
| PWINDOWLIST FASTCALL IntPopulateHwndList | ( | PWINDOWLIST | pwl, |
| PWND | pwnd, | ||
| DWORD | dwFlags | ||
| ) |
Definition at line 1397 of file window.c.
Referenced by IntBuildHwndList(), and IntPopulateHwndList().
Definition at line 1086 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 463 of file window.c.
Referenced by co_UserDestroyWindow(), and IntSendDestroyMsg().
Definition at line 1695 of file window.c.
Referenced by co_UserCreateWindowEx(), and co_UserDestroyWindow().
Definition at line 1118 of file window.c.
Referenced by co_IntSetWindowLongPtr().
Definition at line 145 of file window.c.
Referenced by co_UserCreateWindowEx(), co_UserShowScrollBar(), co_WinPosMinMaximize(), co_WinPosShowWindow(), DefWndDoSizeMove(), IntDefWindowProc(), IntEnableWindow(), and IntForceMinimizeWindow().
Definition at line 843 of file window.c.
Referenced by co_IntSetWindowLongPtr().
Definition at line 4670 of file window.c.
Referenced by co_WinPosMinMaximize(), co_WinPosShowWindow(), DefWndHandleSysCommand(), and NtUserCallTwoParam().
Definition at line 1357 of file window.c.
Referenced by co_IntSetParent(), co_UserFreeWindow(), IntImeSetTopMost(), and IntLinkHwnd().
Definition at line 369 of file window.c.
Referenced by IntCreateWindow(), and IntSetOwner().
Definition at line 276 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 317 of file window.c.
Referenced by IntDestroyOwnedWindows(), and IntShowOwnedPopups().
Definition at line 4108 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 1521 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 2686 of file window.c.
Referenced by CreateWnd(), User32CreateWindowEx(), and WIN_CreateWindowEx().
| BOOL APIENTRY NtUserDefSetText | ( | HWND | hWnd, |
| PLARGE_STRING | WindowText | ||
| ) |
Definition at line 4474 of file window.c.
Referenced by DefSetText().
Definition at line 3057 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 3163 of file window.c.
Referenced by FindWindowExW(), and START_TEST().
Definition at line 3423 of file window.c.
Referenced by GetAncestor().
| BOOL APIENTRY NtUserGetComboBoxInfo | ( | HWND | hWnd, |
| PCOMBOBOXINFO | pcbi | ||
| ) |
Definition at line 3487 of file window.c.
Referenced by GetComboBoxInfo().
Definition at line 3598 of file window.c.
Referenced by GetListBoxInfo().
Definition at line 4608 of file window.c.
Referenced by GetWindowTextA(), GetWindowTextW(), and InternalGetWindowText().
Definition at line 4210 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 4315 of file window.c.
Referenced by RegisterClipboardFormatA(), RegisterClipboardFormatW(), RegisterWindowMessageA(), and RegisterWindowMessageW().
Definition at line 3666 of file window.c.
Referenced by SetParent().
Definition at line 3733 of file window.c.
Referenced by SetShellWindow(), and SetShellWindowEx().
Definition at line 4351 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 4064 of file window.c.
Referenced by SetWindowLongA(), and SetWindowLongW().
Definition at line 4139 of file window.c.
Referenced by SetWindowWord().
| NTSTATUS NTAPI ProbeAndCaptureLargeString | ( | OUT PLARGE_STRING | plstrSafe, |
| IN PLARGE_STRING | plstrUnsafe | ||
| ) |
Definition at line 2629 of file window.c.
Referenced by NtUserCreateWindowEx().
|
static |
Definition at line 543 of file window.c.
Referenced by co_UserFreeWindow().
Definition at line 3359 of file window.c.
Referenced by NtUserGetAncestor().
Definition at line 3700 of file window.c.
Referenced by co_WinPosSetWindowPos(), and SpiSetWallpaper().
Definition at line 124 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().