#include "precomp.h"
#include <ntsdexts.h>
#include "wow.h"
Go to the source code of this file.
Defines | |
#define | ClientSharedInfo() (&gSharedInfo) |
#define | ServerInfo() (gpsi) |
#define | INCCRITSECCOUNT |
#define | INCDEVICEINFOLISTCRITSECCOUNT |
#define | CheckDevLockOut() |
Functions | |
NTSTATUS | ValidateHwinsta (HWINSTA hwinsta, KPROCESSOR_MODE AccessMode, ACCESS_MASK amDesired, PWINDOWSTATION *ppwinsta) |
NTSTATUS | ValidateHdesk (HDESK hdesk, KPROCESSOR_MODE AccessMode, ACCESS_MASK amDesired, PDESKTOP *ppdesk) |
HRGN | UserValidateCopyRgn (HRGN hrgn) |
PMENU | ValidateHmenu (HMENU hmenu) |
PMONITOR | ValidateHmonitor (HMONITOR hmonitor) |
BOOL | IsHandleEntrySecure (HANDLE h, PHE phe) |
BOOL | ValidateHandleSecure (HANDLE h) |
PWND FASTCALL | ValidateHwnd (HWND hwnd) |
VOID | UserEnterUserCritSec (VOID) |
VOID | UserLeaveUserCritSec (VOID) |
BOOL | UserGetCurrentDesktopId (DWORD *pdwDesktopId) |
BOOL | UserIsUserCritSecIn () |
void | EnterCrit (void) |
void | EnterSharedCrit (void) |
void | LeaveCrit (void) |
VOID | ChangeAcquireResourceType (VOID) |
Variables | |
__int64 | gCSTimeExclusiveWhenEntering |
|
Definition at line 795 of file validate.c. Referenced by ChangeAcquireResourceType(), EnterCrit(), EnterSharedCrit(), and LeaveCrit(). |
|
Definition at line 20 of file validate.c. |
|
Definition at line 768 of file validate.c. Referenced by EnterCrit(), EnterSharedCrit(), and LeaveCrit(). |
|
Definition at line 769 of file validate.c. |
|
Definition at line 21 of file validate.c. |
|
Definition at line 887 of file validate.c. References CheckDevLockOut, ExAcquireResourceExclusiveLite(), ExReleaseResource, gpresUser, gptiCurrent, ISATOMICCHECK, TRUE, and VOID(). Referenced by NtUserGetKeyState().
|
|
Definition at line 798 of file validate.c. References CheckCritOut, CheckDeviceInfoListCritOut, CheckDevLockOut, ExAcquireResourceExclusiveLite(), gCSTimeExclusiveWhenEntering, gpresUser, gptiCurrent, INCCRITSECCOUNT, ISATOMICCHECK, KeEnterCriticalRegion, KeQueryPerformanceCounter(), NULL, and TRUE.
|
|
Definition at line 833 of file validate.c. References CheckDevLockOut, ExAcquireResourceSharedLite(), gpresUser, INCCRITSECCOUNT, ISATOMICCHECK, KeEnterCriticalRegion, and TRUE. Referenced by xxxUserFindHandleForObject().
|
|
Definition at line 232 of file validate.c. References tagHANDLETYPEINFO::bObjectCreateFlags, BOOL, _HANDLEENTRY::bType, DWORD, FALSE, gahti, NULL, OCF_PROCESSOWNED, OCF_THREADOWNED, tagW32JOB::pgh, _HANDLEENTRY::pOwner, tagTHREADINFO::ppi, PpiCurrent, tagPROCESSINFO::pW32Job, TRUE, tagW32JOB::ughCrt, and tagW32JOB::ughMax. Referenced by ValidateHandleSecure(), and ValidateHwnd().
|
|
Definition at line 846 of file validate.c. References CheckCritOut, CheckDevLockOut, ExReleaseResource, gCSTimeExclusiveWhenEntering, gpresUser, gptiCurrent, INCCRITSECCOUNT, ISATOMICCHECK, IsWinEventNotifyDeferredOK, KeLeaveCriticalRegion, KeQueryPerformanceCounter(), and NULL.
|
|
Definition at line 472 of file validate.c. References EnterCrit, and VOID().
|
|
Definition at line 494 of file validate.c. References BOOL, CheckCritIn, tagDESKTOP::dwDesktopId, FALSE, grpdeskRitInput, PtiCurrent, and TRUE.
|
|
Definition at line 773 of file validate.c. References BOOL, ExIsResourceAcquiredExclusiveLite(), ExIsResourceAcquiredSharedLite(), gpresUser, NULL, and TRUE.
|
|
Definition at line 477 of file validate.c. References LeaveCrit, and VOID().
|
|
Definition at line 151 of file validate.c. References CopyRgn, CreateEmptyRgn(), and NULL. Referenced by xxxDWP_DoNCActivate(), and xxxSetWindowRgn().
|
|
Definition at line 321 of file validate.c. References BeginTypeValidateHandleMacro, BOOL, CheckCritInShared, EndTypeValidateHandleMacro, EndValidateHandleMacro, FALSE, IsHandleEntrySecure(), StartValidateHandleMacro, TRUE, and TYPE_GENERIC. Referenced by NtUserValidateHandleSecure().
|
|
Definition at line 92 of file validate.c. References DF_DESKWNDDESTROYED, DF_DESTROYED, DF_DYING, Error, ExDesktopObjectType, gSessionId, LogDesktop, NT_SUCCESS, NTSTATUS(), NULL, ObDereferenceObject, ObReferenceObjectByHandle(), PtiCurrent, Status, and TRUE. Referenced by NtUserBuildHwndList(), NtUserSetThreadDesktop(), and NtUserSwitchDesktop().
|
|
Definition at line 181 of file validate.c. References tagMENU::head, HMValidateHandle(), NULL, PtiCurrentShared, tagTHREADINFO::rpdesk, and TYPE_MENU. Referenced by xxxMenuWindowProc(), xxxSetLPITEMInfo(), and xxxSetWindowData().
|
|
Definition at line 210 of file validate.c. References HMValidateSharedHandle(), and TYPE_MONITOR. Referenced by GetHDevName(), xxxCreateThreadInfo(), and xxxCreateWindowEx().
|
|
Definition at line 46 of file validate.c. References ExWindowStationObjectType, gSessionId, NT_SUCCESS, NTSTATUS(), NULL, ObDereferenceObject, ObReferenceObjectByHandle(), and Status. Referenced by NtUserBuildNameList(), NtUserCloseWindowStation(), NtUserLockWindowStation(), NtUserSetWindowStationUser(), and NtUserUnlockWindowStation().
|
|
Definition at line 348 of file validate.c. References _CLIENTINFO::CallbackWnd, EndValidateHandleMacro, FASTCALL, GetClientInfo, GetDesktopView(), GETPTI, HANDLEF_DESTROY, tagWND::head, HMValidateHandle(), _CALLBACKWND::hwnd, IS_THREAD_RESTRICTED, IsHandleEntrySecure(), NULL, tagTHREADINFO::ppi, PtiCurrentShared, _CALLBACKWND::pwnd, tagTHREADINFO::rpdesk, StartValidateHandleMacro, tagTHREADINFO::TIF_flags, TIF_SYSTEMTHREAD, and TYPE_WINDOW.
|
|
Definition at line 34 of file validate.c. Referenced by EnterCrit(), and LeaveCrit(). |