|
ReactOS 0.4.17-dev-684-ga6524ef
|

Go to the source code of this file.
Variables | |
| DWORD | gdwDesktopSectionSize = 3 * 1024 |
| DWORD | gdwNOIOSectionSize = 128 |
| DWORD | gdwWinlogonSectionSize = 128 |
| PDESKTOP | gpdeskInputDesktop = NULL |
| Currently active desktop. | |
| HDC | ScreenDeviceContext = NULL |
| PTHREADINFO | gptiDesktopThread = NULL |
| HCURSOR | gDesktopCursor = NULL |
| PKEVENT | gpDesktopThreadStartedEvent = NULL |
| PKEVENT | gpDesktopSwitchEvent = NULL |
| WinSta0_DesktopSwitch legacy (NT 3.5+) event. | |
| HANDLE | ghDesktopSwitchEvent = NULL |
| WinSta0_DesktopSwitch handle in the CSRSS process. | |
Definition at line 1390 of file desktop.c.
Referenced by co_IntSendActivateMessages(), co_IntSetParent(), co_UserCreateWindowEx(), IntDefWindowProc(), IntIsTopLevelWindow(), and IntWinListOwnedPopups().
Definition at line 1708 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 1633 of file desktop.c.
Referenced by co_IntInitializeDesktopGraphics(), and NtUserSwitchDesktop().
| DBG_DEFAULT_CHANNEL | ( | UserDesktop | ) |
Definition at line 1562 of file desktop.c.
Referenced by UserSystemThreadProc().
| BOOL FASTCALL DesktopWindowProc | ( | PWND | Wnd, |
| UINT | Msg, | ||
| WPARAM | wParam, | ||
| LPARAM | lParam, | ||
| LRESULT * | lResult | ||
| ) |
Definition at line 1458 of file desktop.c.
Referenced by co_IntSendMessageTimeoutSingle(), co_IntSendMessageWithCallBack(), IntDispatchMessage(), and NtUserMessageCall().
|
static |
Definition at line 307 of file desktop.c.
Referenced by IntPaintDesktop().
Definition at line 276 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 2387 of file desktop.c.
Referenced by IntResolveDesktop(), and NtUserCreateDesktop().
Definition at line 1802 of file desktop.c.
Referenced by co_UserFreeWindow(), IntRegisterShellHookWindow(), and NtUserCallHwnd().
Definition at line 251 of file desktop.c.
Referenced by DriverEntry().
Definition at line 179 of file desktop.c.
Referenced by DriverEntry().
Definition at line 234 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 63 of file desktop.c.
Referenced by IntWinStaObjectParse().
Definition at line 210 of file desktop.c.
Referenced by DriverEntry().
Definition at line 1834 of file desktop.c.
Referenced by IntDesktopObjectDelete().
Definition at line 1286 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 1443 of file desktop.c.
Referenced by NtUserFindWindowEx().
Definition at line 1295 of file desktop.c.
Referenced by NtUserGetThreadDesktop(), and NtUserSetInformationThread().
Definition at line 1398 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 1331 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 1421 of file desktop.c.
Referenced by NtUserFindWindowEx(), and NtUserSetParent().
| PWND FASTCALL IntGetThreadDesktopWindow | ( | PTHREADINFO | pti | ) |
Definition at line 1651 of file desktop.c.
Referenced by IntEndDesktopGraphics(), and NtUserSwitchDesktop().
Definition at line 3232 of file desktop.c.
Referenced by IntDesktopObjectOpen(), and IntSetThreadDesktop().
Definition at line 1853 of file desktop.c.
Referenced by co_IntInitializeDesktopGraphics(), DesktopWindowProc(), EngpRegisterGraphicsDevice(), NtUserPaintDesktop(), and UserRealizePalette().
Definition at line 1770 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 575 of file desktop.c.
Referenced by InitThreadCallback(), and NtUserResolveDesktop().
| VOID FASTCALL IntSetFocusMessageQueue | ( | PUSER_MESSAGE_QUEUE | NewQueue | ) |
Definition at line 1343 of file desktop.c.
Referenced by co_IntSetForegroundMessageQueue(), co_WinPosActivateOtherWindow(), IntSetThreadDesktop(), MsqCleanupMessageQueue(), and UserAttachThreadInput().
Definition at line 3306 of file desktop.c.
Referenced by DesktopWindowProc(), ExitThreadCallback(), InitThreadCallback(), NtUserSetInformationThread(), and NtUserSetThreadDesktop().
Definition at line 3188 of file desktop.c.
Referenced by IntDesktopObjectClose(), and IntSetThreadDesktop().
| NTSTATUS FASTCALL IntValidateDesktopHandle | ( | HDESK | Desktop, |
| KPROCESSOR_MODE | AccessMode, | ||
| ACCESS_MASK | DesiredAccess, | ||
| PDESKTOP * | Object | ||
| ) |
Definition at line 1261 of file desktop.c.
Referenced by InitThreadCallback(), IntSetThreadDesktop(), NtUserBuildHwndList(), NtUserCloseDesktop(), NtUserGetObjectInformation(), and NtUserSwitchDesktop().
Definition at line 2758 of file desktop.c.
Referenced by CloseDesktop().
| HDESK APIENTRY NtUserCreateDesktop | ( | POBJECT_ATTRIBUTES | ObjectAttributes, |
| PUNICODE_STRING | lpszDesktopDevice, | ||
| LPDEVMODEW | lpdmw, | ||
| DWORD | dwFlags, | ||
| ACCESS_MASK | dwDesiredAccess | ||
| ) |
Definition at line 2565 of file desktop.c.
Referenced by CreateDesktopW().
Definition at line 3079 of file desktop.c.
Referenced by GetThreadDesktop().
| HDESK APIENTRY NtUserOpenDesktop | ( | POBJECT_ATTRIBUTES | ObjectAttributes, |
| DWORD | dwFlags, | ||
| ACCESS_MASK | dwDesiredAccess | ||
| ) |
Definition at line 2624 of file desktop.c.
Referenced by OpenDesktopW().
| HDESK APIENTRY NtUserOpenInputDesktop | ( | DWORD | dwFlags, |
| BOOL | fInherit, | ||
| ACCESS_MASK | dwDesiredAccess | ||
| ) |
Definition at line 2718 of file desktop.c.
Referenced by OpenInputDesktop().
Definition at line 2815 of file desktop.c.
Referenced by PaintDesktop().
| HDESK NTAPI NtUserResolveDesktop | ( | IN HANDLE | ProcessHandle, |
| IN PUNICODE_STRING | DesktopPath, | ||
| IN BOOL | bInherit, | ||
| OUT HWINSTA * | phWinSta | ||
| ) |
Definition at line 2865 of file desktop.c.
Referenced by GuiInit().
Definition at line 3498 of file desktop.c.
Referenced by SetThreadDesktop().
Definition at line 2972 of file desktop.c.
Referenced by SwitchDesktop().
Definition at line 1667 of file desktop.c.
Referenced by co_IntShellHookNotify().
Definition at line 1590 of file desktop.c.
Referenced by DxEngGetDesktopDC().
Definition at line 1409 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().
|
static |
Definition at line 2278 of file desktop.c.
Referenced by IntDesktopObjectParse().
| BOOL FASTCALL UserMessageWindowProc | ( | PWND | pwnd, |
| UINT | Msg, | ||
| WPARAM | wParam, | ||
| LPARAM | lParam, | ||
| LRESULT * | lResult | ||
| ) |
Definition at line 1541 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 2653 of file desktop.c.
Referenced by DesktopWindowProc(), and NtUserOpenInputDesktop().
Definition at line 1615 of file desktop.c.
Referenced by DxEngRedrawDesktop(), NtUserSetSysColors(), UserChangeDisplaySettings(), and UserRefreshDisplay().
Definition at line 54 of file desktop.c.
Referenced by co_IntLoadDefaultCursors(), and DesktopWindowProc().
| DWORD gdwDesktopSectionSize = 3 * 1024 |
Definition at line 46 of file desktop.c.
Referenced by UserInitializeDesktop().
| DWORD gdwNOIOSectionSize = 128 |
Definition at line 48 of file desktop.c.
Referenced by UserInitializeDesktop().
| DWORD gdwWinlogonSectionSize = 128 |
Definition at line 49 of file desktop.c.
Referenced by UserInitializeDesktop().
WinSta0_DesktopSwitch handle in the CSRSS process.
Definition at line 57 of file desktop.c.
Referenced by IntCreateDesktopSwitchEvent(), and IntWinStaObjectDelete().
Currently active desktop.
Definition at line 51 of file desktop.c.
Referenced by IntGetActiveDesktop(), IsAllowedFGActive(), NtUserOpenInputDesktop(), NtUserSetInformationThread(), NtUserSwitchDesktop(), and UserOpenInputDesktop().
WinSta0_DesktopSwitch legacy (NT 3.5+) event.
Definition at line 56 of file desktop.c.
Referenced by IntCreateDesktopSwitchEvent(), IntWinStaObjectDelete(), and NtUserSwitchDesktop().
Definition at line 55 of file desktop.c.
Referenced by DesktopThreadMain(), InitDesktopImpl(), and IntCreateWindowStation().
| PTHREADINFO gptiDesktopThread = NULL |
Definition at line 53 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().
Definition at line 52 of file desktop.c.
Referenced by co_IntInitializeDesktopGraphics(), EngpRegisterGraphicsDevice(), IntEndDesktopGraphics(), IntGetScreenDC(), NtUserCallNoParam(), and SpiGetSet().