ReactOS 0.4.16-dev-197-g92996da
|
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 3828 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 2176 of file window.c.
Referenced by co_IntCreateDefaultImeWindow(), MENU_InitPopup(), and NtUserCreateWindowEx().
Definition at line 2856 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 4025 of file window.c.
Referenced by DesktopWindowProc(), and NtUserSetWindowWord().
DBG_DEFAULT_CHANNEL | ( | UserWnd | ) |
Definition at line 4377 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 3817 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 1804 of file window.c.
Referenced by co_UserCreateWindowEx(), and IntCreateDesktop().
Definition at line 2820 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 3064 of file window.c.
Referenced by NtUserFindWindowEx().
void FASTCALL IntFixWindowCoordinates | ( | CREATESTRUCTW * | Cs, |
PWND | ParentWindow, | ||
DWORD * | dwShowMode | ||
) |
Definition at line 1714 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(), and IntEnableWindow().
Definition at line 843 of file window.c.
Referenced by co_IntSetWindowLongPtr().
Definition at line 4654 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 4092 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 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 2669 of file window.c.
Referenced by CreateWnd(), and User32CreateWindowEx().
BOOL APIENTRY NtUserDefSetText | ( | HWND | hWnd, |
PLARGE_STRING | WindowText | ||
) |
Definition at line 4458 of file window.c.
Referenced by DefSetText().
Definition at line 3040 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 3146 of file window.c.
Referenced by FindWindowExW(), and START_TEST().
Definition at line 3413 of file window.c.
Referenced by GetAncestor().
BOOL APIENTRY NtUserGetComboBoxInfo | ( | HWND | hWnd, |
PCOMBOBOXINFO | pcbi | ||
) |
Definition at line 3471 of file window.c.
Referenced by GetComboBoxInfo().
Definition at line 3582 of file window.c.
Referenced by GetListBoxInfo().
Definition at line 4592 of file window.c.
Referenced by InternalGetWindowText().
Definition at line 4194 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 4299 of file window.c.
Referenced by RegisterClipboardFormatA(), RegisterClipboardFormatW(), RegisterWindowMessageA(), and RegisterWindowMessageW().
Definition at line 3650 of file window.c.
Referenced by SetParent().
Definition at line 3717 of file window.c.
Referenced by SetShellWindowEx().
Definition at line 4335 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 4048 of file window.c.
Referenced by SetWindowLongA(), and SetWindowLongW().
Definition at line 4123 of file window.c.
Referenced by SetWindowWord().
NTSTATUS NTAPI ProbeAndCaptureLargeString | ( | OUT PLARGE_STRING | plstrSafe, |
IN PLARGE_STRING | plstrUnsafe | ||
) |
Definition at line 2612 of file window.c.
Referenced by NtUserCreateWindowEx().
|
static |
Definition at line 543 of file window.c.
Referenced by co_UserFreeWindow().
Definition at line 3344 of file window.c.
Referenced by co_WinPosActivateOtherWindow(), co_WinPosSetWindowPos(), IntDefWindowProc(), MENU_TrackKbdMenuBar(), MENU_TrackMouseMenuBar(), NC_HandleNCLButtonDown(), NtUserGetAncestor(), and WinPosFixupFlags().
Definition at line 3684 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().