|
ReactOS 0.4.17-dev-444-g71ee754
|

Go to the source code of this file.
Classes | |
| struct | _DESKTOP |
| struct | _SHELL_HOOK_WINDOW |
Macros | |
| #define | DF_TME_HOVER 0x00000400 |
| #define | DF_TME_LEAVE 0x00000800 |
| #define | DF_HOTTRACK 0x00004000 |
| #define | DF_DESTROYED 0x00008000 |
| #define | DF_DESKWNDDESTROYED 0x00010000 |
| #define | DF_DYING 0x00020000 |
| #define | DT_GWL_PROCESSID 0 |
| #define | DT_GWL_THREADID 4 |
| #define | IntIsActiveDesktop(Desktop) ((Desktop)->rpwinstaParent->ActiveDesktop == (Desktop)) |
| #define | UserIsDesktopWindow(pWnd) ((pWnd) && ((pWnd)->fnid == FNID_DESKTOP)) |
| #define | UserIsMessageWindow(pWnd) ((pWnd) && ((pWnd)->fnid == FNID_MESSAGEWND)) |
Typedefs | |
| typedef struct _DESKTOP | DESKTOP |
| typedef struct _DESKTOP * | PDESKTOP |
| typedef struct _SHELL_HOOK_WINDOW | SHELL_HOOK_WINDOW |
| typedef struct _SHELL_HOOK_WINDOW * | PSHELL_HOOK_WINDOW |
Variables | |
| PDESKTOP | gpdeskInputDesktop |
| PCLS | DesktopWindowClass |
| HDC | ScreenDeviceContext |
| PTHREADINFO | gptiForeground |
| PTHREADINFO | gptiDesktopThread |
| PKEVENT | gpDesktopThreadStartedEvent |
| #define UserIsDesktopWindow | ( | pWnd | ) | ((pWnd) && ((pWnd)->fnid == FNID_DESKTOP)) |
| #define UserIsMessageWindow | ( | pWnd | ) | ((pWnd) && ((pWnd)->fnid == FNID_MESSAGEWND)) |
| typedef struct _SHELL_HOOK_WINDOW * PSHELL_HOOK_WINDOW |
Definition at line 1389 of file desktop.c.
Referenced by co_IntSendActivateMessages(), co_IntSetParent(), co_UserCreateWindowEx(), IntDefWindowProc(), IntIsTopLevelWindow(), and IntWinListOwnedPopups().
Definition at line 1707 of file desktop.c.
Referenced by co_IntLoadKeyboardLayoutEx(), co_IntUnloadKeyboardLayoutEx(), co_UserActivateKeyboardLayout(), co_UserCreateWindowEx(), co_UserDestroyWindow(), co_UserProcessHotKeys(), co_WinPosSetWindowPos(), DefSetText(), IntCheckFullscreen(), IntDefWindowProc(), NtUserCallHwndLock(), NtUserDefSetText(), and UpdateShellHook().
Definition at line 1632 of file desktop.c.
Referenced by co_IntInitializeDesktopGraphics(), and NtUserSwitchDesktop().
Definition at line 308 of file desktop.h.
Referenced by IntSetTebWndCallback(), NtUserCallOneParam(), and UserFreeWindowInfo().
Definition at line 204 of file desktop.h.
Referenced by AllocInputContextObject(), co_IntCreateScrollBars(), DefSetText(), IntCloneMenuItems(), IntCreateClass(), IntCreateWindow(), IntGetClassForDesktop(), IntSetMenuItemInfo(), IntSetThreadDesktop(), MENU_InsertItem(), NtUserDefSetText(), and PopupMenuWndProc().
Definition at line 215 of file desktop.h.
Referenced by DefSetText(), FreeDeskProcObject(), FreeDeskThreadObject(), IntCloneMenuItems(), IntCreateClass(), IntDestroyClass(), IntDestroyMenu(), IntDestroyScrollBars(), IntRemoveMenuItem(), IntSetThreadDesktop(), MENU_InsertItem(), NtUserDefSetText(), PopupMenuWndProc(), UserFreeInputContext(), and UserFreeWindowInfo().
Definition at line 272 of file desktop.h.
Referenced by IntSetThreadDesktop(), and UserDbgAssertThreadInfo().
|
static |
Definition at line 226 of file desktop.h.
Referenced by IntRemoveMenuItem().
Definition at line 1561 of file desktop.c.
Referenced by UserSystemThreadProc().
| BOOL FASTCALL DesktopWindowProc | ( | PWND | Wnd, |
| UINT | Msg, | ||
| WPARAM | wParam, | ||
| LPARAM | lParam, | ||
| LRESULT * | lResult | ||
| ) |
Definition at line 1457 of file desktop.c.
Referenced by co_IntSendMessageTimeoutSingle(), co_IntSendMessageWithCallBack(), IntDispatchMessage(), and NtUserMessageCall().
Definition at line 275 of file desktop.c.
Referenced by DriverEntry().
| NTSTATUS FASTCALL IntCreateDesktop | ( | OUT HDESK * | phDesktop, |
| IN POBJECT_ATTRIBUTES | ObjectAttributes, | ||
| IN KPROCESSOR_MODE | AccessMode, | ||
| IN PUNICODE_STRING lpszDesktopDevice | OPTIONAL, | ||
| IN LPDEVMODEW lpdmw | OPTIONAL, | ||
| IN DWORD | dwFlags, | ||
| IN ACCESS_MASK | dwDesiredAccess | ||
| ) |
Definition at line 2386 of file desktop.c.
Referenced by IntResolveDesktop(), and NtUserCreateDesktop().
Definition at line 1801 of file desktop.c.
Referenced by co_UserFreeWindow(), IntRegisterShellHookWindow(), and NtUserCallHwnd().
Definition at line 250 of file desktop.c.
Referenced by DriverEntry().
Definition at line 178 of file desktop.c.
Referenced by DriverEntry().
Definition at line 233 of file desktop.c.
Referenced by DriverEntry().
| NTSTATUS APIENTRY IntDesktopObjectParse | ( | IN PVOID | ParseObject, |
| IN PVOID | ObjectType, | ||
| IN OUT PACCESS_STATE | AccessState, | ||
| IN KPROCESSOR_MODE | AccessMode, | ||
| IN ULONG | Attributes, | ||
| IN OUT PUNICODE_STRING | CompleteName, | ||
| IN OUT PUNICODE_STRING | RemainingName, | ||
| IN OUT PVOID Context | OPTIONAL, | ||
| IN PSECURITY_QUALITY_OF_SERVICE SecurityQos | OPTIONAL, | ||
| OUT PVOID * | Object | ||
| ) |
Definition at line 62 of file desktop.c.
Referenced by IntWinStaObjectParse().
Definition at line 209 of file desktop.c.
Referenced by DriverEntry().
Definition at line 1285 of file desktop.c.
Referenced by co_HOOK_CallHooks(), co_IntInitializeDesktopGraphics(), co_IntShellHookNotify(), IntDeRegisterShellHookWindow(), IntEndDesktopGraphics(), IntGetDesktopWindow(), IntGetFocusMessageQueue(), IntGetMessageWindow(), IntRemoveHook(), IntSetFocusMessageQueue(), NtUserBuildHwndList(), NtUserCallOneParam(), NtUserLockWorkStation(), UserGetDesktopWindow(), and UserGetMessageWindow().
Definition at line 1442 of file desktop.c.
Referenced by NtUserFindWindowEx().
Definition at line 1397 of file desktop.c.
Referenced by co_IntProcessKeyboardMessage(), co_IntSetWindowLongPtr(), co_UserSetParent(), co_WinPosSetWindowPos(), DceUpdateVisRgn(), IntPaintDesktop(), NtUserAlterWindowStyle(), NtUserRedrawWindow(), NtUserSetParent(), NtUserSetWindowLong(), NtUserSetWindowWord(), NtUserWindowFromPoint(), SnapWindow(), UserRealizePalette(), and UserRegisterUserApiHook().
| PUSER_MESSAGE_QUEUE FASTCALL IntGetFocusMessageQueue | ( | VOID | ) |
Definition at line 1330 of file desktop.c.
Referenced by co_IntSetForegroundAndFocusWindow(), co_UserSetFocus(), co_WinPosShowWindow(), DoTheScreenSaver(), IntGetCaptureWindow(), IntHandleAltNumpad(), IntSendDestroyMsg(), NtUserGetGUIThreadInfo(), ProcessKeyEvent(), UserGetForegroundWindow(), UserProcessKeyboardInput(), and UserSendKeyboardInput().
Definition at line 1420 of file desktop.c.
Referenced by NtUserFindWindowEx(), and NtUserSetParent().
Definition at line 375 of file winsta.c.
Referenced by co_MsqInsertMouseMessage(), MsqCleanupMessageQueue(), UserSetCursor(), and UserShowCursor().
| PWND FASTCALL IntGetThreadDesktopWindow | ( | PTHREADINFO | pti | ) |
Definition at line 1650 of file desktop.c.
Referenced by IntEndDesktopGraphics(), and NtUserSwitchDesktop().
Definition at line 1852 of file desktop.c.
Referenced by co_IntInitializeDesktopGraphics(), DesktopWindowProc(), EngpRegisterGraphicsDevice(), NtUserPaintDesktop(), and UserRealizePalette().
Definition at line 1769 of file desktop.c.
Referenced by NtUserCallHwnd().
| NTSTATUS FASTCALL IntResolveDesktop | ( | IN PEPROCESS | Process, |
| IN PUNICODE_STRING | DesktopPath, | ||
| IN BOOL | bInherit, | ||
| OUT HWINSTA * | phWinSta, | ||
| OUT HDESK * | phDesktop | ||
| ) |
Definition at line 574 of file desktop.c.
Referenced by InitThreadCallback(), and NtUserResolveDesktop().
| VOID FASTCALL IntSetFocusMessageQueue | ( | PUSER_MESSAGE_QUEUE | NewQueue | ) |
Definition at line 1342 of file desktop.c.
Referenced by co_IntSetForegroundMessageQueue(), co_WinPosActivateOtherWindow(), IntSetThreadDesktop(), MsqCleanupMessageQueue(), and UserAttachThreadInput().
Definition at line 3295 of file desktop.c.
Referenced by DesktopWindowProc(), ExitThreadCallback(), InitThreadCallback(), NtUserSetInformationThread(), and NtUserSetThreadDesktop().
| NTSTATUS FASTCALL IntValidateDesktopHandle | ( | HDESK | Desktop, |
| KPROCESSOR_MODE | AccessMode, | ||
| ACCESS_MASK | DesiredAccess, | ||
| PDESKTOP * | Object | ||
| ) |
Definition at line 1260 of file desktop.c.
Referenced by InitThreadCallback(), IntSetThreadDesktop(), NtUserBuildHwndList(), NtUserCloseDesktop(), NtUserGetObjectInformation(), and NtUserSwitchDesktop().
Definition at line 1589 of file desktop.c.
Referenced by DxEngGetDesktopDC().
Definition at line 1408 of file desktop.c.
Referenced by co_IntProcessMouseMessage(), co_IntSendActivateMessages(), co_IntSendMessageTimeout(), co_IntSetActiveWindow(), co_MsqInsertMouseMessage(), co_UserRedrawWindow(), co_WinPosActivateOtherWindow(), co_WinPosWindowFromPoint(), DefWndDoSizeMove(), DefWndHandleSetCursor(), IntAnimatePalette(), IntDeactivateWindow(), IntDefWindowProc(), IntForceMinimizeWindow(), IntGetClientOrigin(), IntGetLastTopMostWindowNoIME(), IntGetPaintMessage(), IntImeWindowPosChanged(), IntTopLevelWindowFromPoint(), MENU_TrackMouseMenuBar(), MsqSendParentNotify(), NtUserBuildHwndList(), NtUserMessageCall(), SpiNotifyNCMetricsChanged(), UpdateShellHook(), UserClipCursor(), UserGetDesktopDC(), UserPostMessage(), UserRedrawDesktop(), UserSendNotifyMessage(), UserSetCursorPos(), and WinPosDoOwnedPopups().
| BOOL FASTCALL UserMessageWindowProc | ( | PWND | pwnd, |
| UINT | Msg, | ||
| WPARAM | wParam, | ||
| LPARAM | lParam, | ||
| LRESULT * | lResult | ||
| ) |
Definition at line 1540 of file desktop.c.
Referenced by co_IntSendMessageTimeoutSingle(), co_IntSendMessageWithCallBack(), IntDispatchMessage(), and NtUserMessageCall().
| HDESK UserOpenInputDesktop | ( | DWORD | dwFlags, |
| BOOL | fInherit, | ||
| ACCESS_MASK | dwDesiredAccess | ||
| ) |
Definition at line 2652 of file desktop.c.
Referenced by DesktopWindowProc(), and NtUserOpenInputDesktop().
Definition at line 1614 of file desktop.c.
Referenced by DxEngRedrawDesktop(), NtUserSetSysColors(), UserChangeDisplaySettings(), and UserRefreshDisplay().
|
extern |
|
extern |
Definition at line 52 of file desktop.c.
Referenced by IntGetActiveDesktop(), IsAllowedFGActive(), NtUserOpenInputDesktop(), NtUserSetInformationThread(), NtUserSwitchDesktop(), and UserOpenInputDesktop().
|
extern |
Definition at line 56 of file desktop.c.
Referenced by DesktopThreadMain(), InitDesktopImpl(), and IntCreateWindowStation().
|
extern |
Definition at line 54 of file desktop.c.
Referenced by co_IntCallHookProc(), co_IntCallSentMessageCallback(), co_IntCallWindowProc(), co_IntClientLoadLibrary(), co_IntClientThreadSetup(), co_IntLoadDefaultCursors(), co_IntLoadSysMenuTemplate(), DesktopThreadMain(), IntCreateDesktop(), IntCreateWindow(), and IntGetAndReferenceClass().
|
extern |
Definition at line 15 of file focus.c.
Referenced by CanForceFG(), co_IntSetForegroundMessageQueue(), co_UserActivateKeyboardLayout(), ExitThreadCallback(), IdlePing(), InitThreadCallback(), IntImeCheckTopmost(), NtUserNotifyIMEStatus(), and UserAttachThreadInput().
|
extern |
Definition at line 53 of file desktop.c.
Referenced by co_IntInitializeDesktopGraphics(), EngpRegisterGraphicsDevice(), IntEndDesktopGraphics(), IntGetScreenDC(), NtUserCallNoParam(), and SpiGetSet().